public function getBaseUri()
    {
        return sprintf('%s%s'
            , $this->params['endpoint']
            , ! empty($this->id) ? '/' . $this->id : null
        );
    }
public function getBaseUri()
    {
        return sprintf('%s%s'
            , $this->params['endpoint']
            , ! empty($this->id) ? '/' . $this->id : null
        );
    }
public function getBaseUri ( ) { return sprintf ( '%s%s' , $ this -> params [ 'endpoint' ] , ! empty ( $ this -> id ) ? '/' . $ this -> id : null ) ; }
Return entity endpoint base uri
Return entity endpoint base uri