Vocabulary
in package
Description of Vocabulary
Tags
Table of Contents
- $graph : Graph
- $schema : object
- $url : string
- __construct() : mixed
- loadFile() : void
- loadUrl() : void
- update() : bool
- sanitizeSchemaMeta() : Resource
- Vocabulary top-level metadata quality is typically very poor and has to be cleaned up.
Properties
$graph
private
Graph
$graph
Tags
$schema
private
object
$schema
Tags
$url
private
string
$url
Tags
Methods
__construct()
public
__construct(object $schema) : mixed
Parameters
- $schema : object
Tags
Return values
mixed —loadFile()
public
loadFile(string $file[, string $format = null ]) : void
Parameters
- $file : string
- $format : string = null
Tags
Return values
void —loadUrl()
public
loadUrl(string $vocabularyUrl) : void
Parameters
- $vocabularyUrl : string
Tags
Return values
void —update()
public
update(Repo $repo, bool $verbose) : bool
Parameters
- $repo : Repo
- $verbose : bool
Tags
Return values
bool —sanitizeSchemaMeta()
Vocabulary top-level metadata quality is typically very poor and has to be cleaned up.
private
sanitizeSchemaMeta() : Resource