src/acdhOeaw/util/metadataValidator/MetadataValidator.php
static private function getPropertyDef(string $property, Fedora $fedora): OntologyProperty {
        if (!isset(self::$cache[$property])) {
            self::$cache[$property] = new OntologyProperty($property, $fedora);
        }
        return self::$cache[$property];
    }
static private function getPropertyDef(string $property, Fedora $fedora): OntologyProperty {
        if (!isset(self::$cache[$property])) {
            self::$cache[$property] = new OntologyProperty($property, $fedora);
        }
        return self::$cache[$property];
    }
static private function getPropertyDef ( string $ property , Fedora $ fedora ) : OntologyProperty { if ( ! isset ( self :: $ cache [ $ property ] ) ) { self :: $ cache [ $ property ] = new OntologyProperty ( $ property , $ fedora ) ; } return self :: $ cache [ $ property ] ; }
Fetches property definition from cache.
Creates a deifinition if it does not exist.
@param string $property RDF property URI
@param Fedora $fedora repository connection object
@return \acdhOeaw\util\metadataValidator\OntologyProperty
Fetches property definition from cache . Creates a deifinition if it does not exist .