Documentation

MetadataChecker
in package

Description of MetadataChecker

Tags
author

zozlak

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
checkClass()  : void
checkForLocalEntities()  : void
Removes "Failed to fetch RDF data from {URI}" errors related to locally defined entities (having a given subject or identifier).
checkNamedEntity()  : void

Properties

$checkRanges

private array<string, array<string|int, string>> $checkRanges

$vocabularies

private array<string, array<string, string>> $vocabularies

Methods

check()

public check(DatasetInterface $meta[, bool $reportProgress = true ]) : bool
Parameters
$meta : DatasetInterface
$reportProgress : bool = true
Return values
bool

checkForLocalEntities()

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

        
On this page

Search results