src/Micrometa/Infrastructure/Parser/JsonLD.php
protected function parseNodeType(NodeInterface $node)
    {
        /** @var Node $itemType */
        return ($itemType = $node->getType()) ? [$this->vocabularyCache->expandIRI($itemType->getId())] : [];
    }
protected function parseNodeType(NodeInterface $node)
    {
        /** @var Node $itemType */
        return ($itemType = $node->getType()) ? [$this->vocabularyCache->expandIRI($itemType->getId())] : [];
    }
protected function parseNodeType ( NodeInterface $ node ) { /** @var Node $itemType */ return ( $ itemType = $ node -> getType ( ) ) ? [ $ this -> vocabularyCache -> expandIRI ( $ itemType -> getId ( ) ) ] : [ ] ; }
Parse the type of a JSON-LD node

@param NodeInterface $node Node

@return array Item type
Parse the type of a JSON - LD node