public function driver($driverName)
    {
        $shortener = new UrlShortener($this->driverFactory);
        $shortener->setDriver($driverName);
        return $shortener;
    }
public function driver($driverName)
    {
        $shortener = new UrlShortener($this->driverFactory);
        $shortener->setDriver($driverName);
        return $shortener;
    }
public function driver ( $ driverName ) { $ shortener = new UrlShortener ( $ this -> driverFactory ) ; $ shortener -> setDriver ( $ driverName ) ; return $ shortener ; }
Creates a new URL Shortener instance with the given driver name.
Useful for chained calls using the facade when a different driver is to be used for just one request.

@param  string $driverName
@return UrlShortener
Creates a new URL Shortener instance with the given driver name . Useful for chained calls using the facade when a different driver is to be used for just one request .