for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Vinelab\UrlShortener\Contracts;
/**
* Interface ShortenInterface.
*/
interface ShortenInterface
{
* Shortening the URL and returning the short version.
* Internally the function call the shorten() of the driver.
* The driver is initialized in the Handler parent class.
*
* @param $url
public function url($url);
}