src/acdhOeaw/util/metadataValidator/MetadataValidator.php
static public function validateGraph(Graph $graph, Fedora $fedora): array {
        $results = array();
        foreach ($graph->resources() as $i) {
            $results = array_merge($results, self::validateResource($i, $fedora));
        }
        return $results;
    }
static public function validateGraph(Graph $graph, Fedora $fedora): array {
        $results = array();
        foreach ($graph->resources() as $i) {
            $results = array_merge($results, self::validateResource($i, $fedora));
        }
        return $results;
    }
static public function validateGraph ( Graph $ graph , Fedora $ fedora ) : array { $ results = array ( ) ; foreach ( $ graph -> resources ( ) as $ i ) { $ results = array_merge ( $ results , self :: validateResource ( $ i , $ fedora ) ) ; } return $ results ; }
Checks a given RDF graph against ontology in a given Fedora repository.
@param Graph $graph RDF graph to be checked
@param Fedora $fedora repository connection object
@return array list of errors
Checks a given RDF graph against ontology in a given Fedora repository .