public function generate($location, array $options = [])
    {
        $uri = $this->fetchUrl($location, $options);
        $this->decorate($uri);
        return $uri;
    }
public function generate($location, array $options = [])
    {
        $uri = $this->fetchUrl($location, $options);
        $this->decorate($uri);
        return $uri;
    }
public function generate ( $ location , array $ options = [ ] ) { $ uri = $ this -> fetchUrl ( $ location , $ options ) ; $ this -> decorate ( $ uri ) ; return $ uri ; }
Generates an URL location from provided data

@param string $location Location name, path or identifier
@param array $options Filter options

@return UriInterface|string|null
Generates an URL location from provided data