src/Micrometa/Infrastructure/Parser/JsonLD/VocabularyCache.php
protected function processVocabularyTerm($definition, array &$prefices, array &$vocabularies)
    {
        $prefixName = explode(':', $definition->{'@id'}, 2);
        if (count($prefixName) == 2) {
            if (isset($prefices[$prefixName[0]])) {
                $vocabularies[$prefices[$prefixName[0]]][$prefixName[1]] = true;
            }
        }
    }
protected function processVocabularyTerm($definition, array &$prefices, array &$vocabularies)
    {
        $prefixName = explode(':', $definition->{'@id'}, 2);
        if (count($prefixName) == 2) {
            if (isset($prefices[$prefixName[0]])) {
                $vocabularies[$prefices[$prefixName[0]]][$prefixName[1]] = true;
            }
        }
    }
protected function processVocabularyTerm ( $ definition , array & $ prefices , array & $ vocabularies ) { $ prefixName = explode ( ':' , $ definition -> { '@id' } , 2 ) ; if ( count ( $ prefixName ) == 2 ) { if ( isset ( $ prefices [ $ prefixName [ 0 ] ] ) ) { $ vocabularies [ $ prefices [ $ prefixName [ 0 ] ] ] [ $ prefixName [ 1 ] ] = true ; } } }
Process a vocabulary term

@param \stdClass $definition Term definition
@param array $prefices       Prefix register
@param array $vocabularies   Vocabulary register
Process a vocabulary term