src/Micrometa/Infrastructure/Parser/JsonLD/VocabularyCache.php
public function expandIRI($name)
    {
        $iri          = (object)['name' => $name, 'profile' => ''];
        $vocabularies = Cache::getAdapter()->getItem(self::SLOT_VOCABS);

        // Run through all vocabularies
        if ($vocabularies->isHit()) {
            $this->matchVocabularies($name, $vocabularies->get(), $iri);
        }

        return $iri;
    }
public function expandIRI($name)
    {
        $iri          = (object)['name' => $name, 'profile' => ''];
        $vocabularies = Cache::getAdapter()->getItem(self::SLOT_VOCABS);

        // Run through all vocabularies
        if ($vocabularies->isHit()) {
            $this->matchVocabularies($name, $vocabularies->get(), $iri);
        }

        return $iri;
    }
public function expandIRI ( $ name ) { $ iri = ( object ) [ 'name' => $ name , 'profile' => '' ] ; $ vocabularies = Cache :: getAdapter ( ) -> getItem ( self :: SLOT_VOCABS ) ; // Run through all vocabularies if ( $ vocabularies -> isHit ( ) ) { $ this -> matchVocabularies ( $ name , $ vocabularies -> get ( ) , $ iri ) ; } return $ iri ; }
Create an IRI from a name considering the known vocabularies

@param string $name Name

@return \stdClass IRI
Create an IRI from a name considering the known vocabularies