src/Micrometa/Domain/Factory/IriFactory.php
protected static function validateIriStructure($iri)
    {
        return is_object($iri) && isset($iri->profile) && isset($iri->name);
    }
protected static function validateIriStructure($iri)
    {
        return is_object($iri) && isset($iri->profile) && isset($iri->name);
    }
protected static function validateIriStructure ( $ iri ) { return is_object ( $ iri ) && isset ( $ iri -> profile ) && isset ( $ iri -> name ) ; }
Test if an object has a valid IRI structure

@param \stdClass $iri IRI

@return bool Is a valid IRI
Test if an object has a valid IRI structure