\acdhOeaw\util\metaLookupMetaLookupInterface

It is a common problem to couple binary data with their metadata.

This interface provides a method for returning metadata object based on the binary file path.

Summary

Methods
Constants
getMetadata()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getMetadata()

getMetadata(string  $path, \EasyRdf\Resource  $meta, boolean  $require = false) : \EasyRdf\Resource

Returns metadata coupled with a file.

Parameters

string $path

path to the data file

\EasyRdf\Resource $meta
boolean $require

should error be thrown when no metadata was found (when false a resource with no triples is returned)

Returns

\EasyRdf\Resource —

fetched metadata