private function isEnum(\EasyRdf_Resource $type): bool
    {
        $subClassOf = $type->get('rdfs:subClassOf');

        return $subClassOf && self::SCHEMA_ORG_ENUMERATION === $subClassOf->getUri();
    }
private function isEnum(\EasyRdf_Resource $type): bool
    {
        $subClassOf = $type->get('rdfs:subClassOf');

        return $subClassOf && self::SCHEMA_ORG_ENUMERATION === $subClassOf->getUri();
    }
private function isEnum ( \ EasyRdf_Resource $ type ) : bool { $ subClassOf = $ type -> get ( 'rdfs:subClassOf' ) ; return $ subClassOf && self :: SCHEMA_ORG_ENUMERATION === $ subClassOf -> getUri ( ) ; }
Tests if a type is an enum.
Tests if a type is an enum .