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