protected function getProjectionNodes()
    {
        $expandedProjectionNode = $this->getCurrentExpandedProjectionNode();
        if (null === $expandedProjectionNode || $expandedProjectionNode->canSelectAllProperties()) {
            return null;
        }

        return $expandedProjectionNode->getChildNodes();
    }
protected function getProjectionNodes()
    {
        $expandedProjectionNode = $this->getCurrentExpandedProjectionNode();
        if (null === $expandedProjectionNode || $expandedProjectionNode->canSelectAllProperties()) {
            return null;
        }

        return $expandedProjectionNode->getChildNodes();
    }
protected function getProjectionNodes ( ) { $ expandedProjectionNode = $ this -> getCurrentExpandedProjectionNode ( ) ; if ( null === $ expandedProjectionNode || $ expandedProjectionNode -> canSelectAllProperties ( ) ) { return null ; } return $ expandedProjectionNode -> getChildNodes ( ) ; }
Gets collection of projection nodes under the current node.

@return ProjectionNode[]|ExpandedProjectionNode[]|null List of nodes describing projections for the current
segment, If this method returns null it means no
projections are to be applied and the entire resource for
the current segment should be serialized, If it returns
non-null only the properties described by the returned
projection segments should be serialized
Gets collection of projection nodes under the current node .