See tests for usage, won't recursively load manifests until they are used. Simple loader so you can swap out for something like Guzzle if required, but file_get_contents by default.
Also added methods:
Collection::isCollection(array $data);
and
Manifest::isManifest(array $data);
for identifying resources for the IIIF Import module
See tests for usage, won't recursively load manifests until they are used. Simple loader so you can swap out for something like Guzzle if required, but
file_get_contents
by default.Also added methods:
Collection::isCollection(array $data);
andManifest::isManifest(array $data);
for identifying resources for the IIIF Import module