public function url($name, array $params = []) {
        $uri = $this->uri($name, $params);
        return sprintf('//%s/%s', $this->request()->getHttpHost(), ltrim($uri));
    }
public function url($name, array $params = []) {
        $uri = $this->uri($name, $params);
        return sprintf('//%s/%s', $this->request()->getHttpHost(), ltrim($uri));
    }
public function url ( $ name , array $ params = [ ] ) { $ uri = $ this -> uri ( $ name , $ params ) ; return sprintf ( '//%s/%s' , $ this -> request ( ) -> getHttpHost ( ) , ltrim ( $ uri ) ) ; }
Generate a route URL
@param string $name Route name
@param array $params Route params
@return string
Generate a route URL