src/Resource.php
protected function getOwnFields()
    {
        $type = $this->getType();

        if (isset($this->fields[$type])) {
            return $this->fields[$type];
        }
    }
protected function getOwnFields()
    {
        $type = $this->getType();

        if (isset($this->fields[$type])) {
            return $this->fields[$type];
        }
    }
protected function getOwnFields ( ) { $ type = $ this -> getType ( ) ; if ( isset ( $ this -> fields [ $ type ] ) ) { return $ this -> fields [ $ type ] ; } }
Get the requested fields for this resource type.

@return array|null
Get the requested fields for this resource type .