MetadataChecker
in package
Description of MetadataChecker
Tags
Table of Contents
Properties
- $checkRanges : array<string, array<string|int, string>>
- $log : LoggerInterface|null
- $meta : DatasetInterface
- $normalizers : array<string, UriNormalizer>
- $ontology : Ontology
- $schema : Schema
- $vocabularies : array<string, array<string, string>>
Methods
- __construct() : mixed
- check() : bool
- checkForLocalEntities() : void
- Removes "Failed to fetch RDF data from {URI}" errors related to locally defined entities (having a given subject or identifier).
Properties
$checkRanges
private
array<string, array<string|int, string>>
$checkRanges
Tags
$log
private
LoggerInterface|null
$log
$meta
private
DatasetInterface
$meta
$normalizers
private
array<string, UriNormalizer>
$normalizers
Tags
$ontology
private
Ontology
$ontology
$schema
private
Schema
$schema
$vocabularies
private
array<string, array<string, string>>
$vocabularies
Tags
Methods
__construct()
public
__construct(Ontology $ontology, Schema $schema[, LoggerInterface|null $log = null ]) : mixed
Parameters
check()
public
check(DatasetInterface $meta[, bool $reportProgress = true ]) : bool
Parameters
- $meta : DatasetInterface
- $reportProgress : bool = true
Return values
boolcheckForLocalEntities()
Removes "Failed to fetch RDF data from {URI}" errors related to locally defined entities (having a given subject or identifier).
private
checkForLocalEntities(array<string|int, DoorkeeperException> &$errors, DatasetInterface $meta) : void
Doesnt' check if entities themselves are valid (but this is checked in the check() method loop)
Parameters
- $errors : array<string|int, DoorkeeperException>
- $meta : DatasetInterface