public function getResourceUrl(string $type, $id, array $params = []): string
    {
        return $this->url([$type, $id], $params);
    }
public function getResourceUrl(string $type, $id, array $params = []): string
    {
        return $this->url([$type, $id], $params);
    }
public function getResourceUrl ( string $ type , $ id , array $ params = [ ] ) : string { return $ this -> url ( [ $ type , $ id ] , $ params ) ; }
Get the URL for the specified resource.

@param string $type
@param mixed $id
@param array $params
@return string
Get the URL for the specified resource .