src/Micrometa/Infrastructure/Parser/JsonLD.php
protected function parseNode(NodeInterface $node)
    {
        return (object)[
            'type'       => $this->parseNodeType($node),
            'id'         => $node->getId() ?: null,
            'properties' => $this->parseNodeProperties($node),
        ];
    }
protected function parseNode(NodeInterface $node)
    {
        return (object)[
            'type'       => $this->parseNodeType($node),
            'id'         => $node->getId() ?: null,
            'properties' => $this->parseNodeProperties($node),
        ];
    }
protected function parseNode ( NodeInterface $ node ) { return ( object ) [ 'type' => $ this -> parseNodeType ( $ node ) , 'id' => $ node -> getId ( ) ? : null , 'properties' => $ this -> parseNodeProperties ( $ node ) , ] ; }
Parse a JSON-LD node

@param NodeInterface $node Node

@return \stdClass Item
Parse a JSON - LD node