src/Micrometa/Infrastructure/Parser/JsonLD/VocabularyCache.php
protected function processPrefix($name, $definition, array &$prefices, array &$vocabularies)
    {
        $prefices[$name] = $definition;

        // Register the vocabulary
        if (!isset($vocabularies[$definition])) {
            $vocabularies[$definition] = [];
        }
    }
protected function processPrefix($name, $definition, array &$prefices, array &$vocabularies)
    {
        $prefices[$name] = $definition;

        // Register the vocabulary
        if (!isset($vocabularies[$definition])) {
            $vocabularies[$definition] = [];
        }
    }
protected function processPrefix ( $ name , $ definition , array & $ prefices , array & $ vocabularies ) { $ prefices [ $ name ] = $ definition ; // Register the vocabulary if ( ! isset ( $ vocabularies [ $ definition ] ) ) { $ vocabularies [ $ definition ] = [ ] ; } }
Process a vocabulary prefix

@param string $name        Prefix name
@param string $definition  Prefix definition
@param array $prefices     Prefix register
@param array $vocabularies Vocabulary register
Process a vocabulary prefix