Neos.ContentRepository/Classes/Domain/Service/NodeTypeManager.php
public function getNodeTypes($includeAbstractNodeTypes = true)
    {
        if ($this->cachedNodeTypes === []) {
            $this->loadNodeTypes();
        }
        if ($includeAbstractNodeTypes) {
            return $this->cachedNodeTypes;
        }

        $nonAbstractNodeTypes = array_filter($this->cachedNodeTypes, function ($nodeType) {
            return !$nodeType->isAbstract();
        });

        return $nonAbstractNodeTypes;
    }
public function getNodeTypes($includeAbstractNodeTypes = true)
    {
        if ($this->cachedNodeTypes === []) {
            $this->loadNodeTypes();
        }
        if ($includeAbstractNodeTypes) {
            return $this->cachedNodeTypes;
        }

        $nonAbstractNodeTypes = array_filter($this->cachedNodeTypes, function ($nodeType) {
            return !$nodeType->isAbstract();
        });

        return $nonAbstractNodeTypes;
    }
public function getNodeTypes ( $ includeAbstractNodeTypes = true ) { if ( $ this -> cachedNodeTypes === [ ] ) { $ this -> loadNodeTypes ( ) ; } if ( $ includeAbstractNodeTypes ) { return $ this -> cachedNodeTypes ; } $ nonAbstractNodeTypes = array_filter ( $ this -> cachedNodeTypes , function ( $ nodeType ) { return ! $ nodeType -> isAbstract ( ) ; } ) ; return $ nonAbstractNodeTypes ; }
Return all registered node types.

@param boolean $includeAbstractNodeTypes Whether to include abstract node types, defaults to true
@return array<NodeType> All node types registered in the system, indexed by node type name
@api
Return all registered node types .