ShortenInterface
last analyzed

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 4
Bugs 0 Features 0
Metric Value
c 4
b 0
f 0
dl 0
loc 11

1 Method

Rating   Name   Duplication   Size   Complexity  
url() 0 1 ?
1
<?php
2
3
namespace Vinelab\UrlShortener\Contracts;
4
5
/**
6
 * Interface ShortenInterface.
7
 */
8
interface ShortenInterface
9
{
10
    /**
11
     * Shortening the URL and returning the short version.
12
     * Internally the function call the shorten() of the driver.
13
     * The driver is initialized in the Handler parent class.
14
     *
15
     * @param $url
16
     */
17
    public function url($url);
18
}
19