src/Micrometa/Infrastructure/Parser/JsonLD.php
protected function processNodePropertyObject($name, $value, array &$properties)
    {
        if (!empty($value->type) || !empty($value->lang)) {
            $properties[$name]->values[] = $value;

            // @type = @id
        } elseif (!empty($value->id)) {
            $properties[$name]->values[] = $value->id;
        }
    }
protected function processNodePropertyObject($name, $value, array &$properties)
    {
        if (!empty($value->type) || !empty($value->lang)) {
            $properties[$name]->values[] = $value;

            // @type = @id
        } elseif (!empty($value->id)) {
            $properties[$name]->values[] = $value->id;
        }
    }
protected function processNodePropertyObject ( $ name , $ value , array & $ properties ) { if ( ! empty ( $ value -> type ) || ! empty ( $ value -> lang ) ) { $ properties [ $ name ] -> values [ ] = $ value ; // @type = @id } elseif ( ! empty ( $ value -> id ) ) { $ properties [ $ name ] -> values [ ] = $ value -> id ; } }
Process a property value object

@param string $name      Property name
@param \stdClass $value  Property value
@param array $properties Properties
Process a property value object