MetadataChecker
in package
Description of MetadataChecker
Tags
Table of Contents
Properties
- $checkRanges : array<string|int, mixed>
- $log : LoggerInterface|null
- $meta : Dataset
- $normalizers : array<string|int, mixed>
- $ontology : Ontology
- $schema : Schema
- $vocabularies : array<string|int, mixed>
Methods
- __construct() : mixed
- check() : bool
- checkClass() : void
- checkNamedEntity() : void
Properties
$checkRanges
private
array<string|int, mixed>
$checkRanges
$log
private
LoggerInterface|null
$log
$meta
private
Dataset
$meta
$normalizers
private
array<string|int, mixed>
$normalizers
$ontology
private
Ontology
$ontology
$schema
private
Schema
$schema
$vocabularies
private
array<string|int, mixed>
$vocabularies
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
boolcheckClass()
public
checkClass(DatasetInterface $sbjMeta, ClassDesc|string $class, array<string|int, mixed> &$errors) : void
Parameters
- $sbjMeta : DatasetInterface
- $class : ClassDesc|string
- $errors : array<string|int, mixed>
checkNamedEntity()
private
checkNamedEntity(NamedNode $value, bool $resolve, PropertyDesc $propDesc, array<string|int, mixed> &$errors) : void
Parameters
- $value : NamedNode
- $resolve : bool
- $propDesc : PropertyDesc
- $errors : array<string|int, mixed>