Neos\ContentRepository\Domain\Model\Node::getPrimaryChildNode PHP Method

getPrimaryChildNode() public method

Which node acts as a primary child node will in the future depend on the node type. For now it is just the first child node.
public getPrimaryChildNode ( ) : Node
return Node The primary child node or NULL if no such node exists
    public function getPrimaryChildNode()
    {
        return $this->nodeDataRepository->findFirstByParentAndNodeTypeInContext($this->getPath(), null, $this->context);
    }
Node