Jackalope\Transport\TransportInterface::getNodeTypes PHP Method

getNodeTypes() public method

If the transport does not support registering new node types, it can just return types from the hard coded definition at Jackalope\Transport\StandardNodeTypes
See also: NodeTypeDefinition::fromArray
public getNodeTypes ( $nodeTypes = [] ) : array
return array with the definitions
    public function getNodeTypes($nodeTypes = array());

Usage Example

 /**
  * {@inheritDoc}
  */
 public function getNodeTypes($nodeTypes = array())
 {
     $this->logger->startCall(__FUNCTION__, func_get_args());
     $result = $this->transport->getNodeTypes($nodeTypes);
     $this->logger->stopCall();
     return $result;
 }
All Usage Examples Of Jackalope\Transport\TransportInterface::getNodeTypes