src/RequestDecorator.php
function makeResource()
    {
        $resource = $this->resource;
        if ($this->id) $resource .= '/' . $this->id;
        return $resource;
    }
function makeResource()
    {
        $resource = $this->resource;
        if ($this->id) $resource .= '/' . $this->id;
        return $resource;
    }
function makeResource ( ) { $ resource = $ this -> resource ; if ( $ this -> id ) $ resource .= '/' . $ this -> id ; return $ resource ; }
Return the resource url part.
@return string
Return the resource url part .