RepresentationInterface

The representation interface A representation wraps around and provides a standard interface to data. It has two primary functions: - Serialize into a JSON-LD object - Pass around internally as a rich, read-only data object
implements JsonSerializable, Zend\EventManager\EventManagerAwareInterface, Zend\EventManager\EventsCapableInterface

Known implementers

Omeka\Api\Representation\AbstractEntityRepresentation , Omeka\Api\Representation\AbstractRepresentation , Omeka\Api\Representation\AbstractResourceEntityRepresentation , Omeka\Api\Representation\AbstractResourceRepresentation , Omeka\Api\Representation\AbstractVocabularyMemberRepresentation , Omeka\Api\Representation\ApiResourceRepresentation , Omeka\Api\Representation\AssetRepresentation , Omeka\Api\Representation\ItemRepresentation , Omeka\Api\Representation\ItemSetRepresentation , Omeka\Api\Representation\JobRepresentation , Omeka\Api\Representation\MediaRepresentation , Omeka\Api\Representation\ModuleRepresentation , Omeka\Api\Representation\PropertyRepresentation , Omeka\Api\Representation\ResourceClassRepresentation , Omeka\Api\Representation\ResourceReference , Omeka\Api\Representation\ResourceTemplatePropertyRepresentation , Omeka\Api\Representation\ResourceTemplateRepresentation , Omeka\Api\Representation\SiteBlockAttachmentRepresentation , Omeka\Api\Representation\SiteItemSetRepresentation , Omeka\Api\Representation\SitePageBlockRepresentation , Omeka\Api\Representation\SitePageRepresentation , Omeka\Api\Representation\SitePermissionRepresentation , Omeka\Api\Representation\SiteRepresentation , Omeka\Api\Representation\UserRepresentation , Omeka\Api\Representation\ValueRepresentation , Omeka\Api\Representation\VocabularyRepresentation

Methods Summary
public
# jsonSerialize( )
Serialize the data to a JSON-LD compatible format.

link