Data |
core/modules/jsonapi/src/JsonApiResource/Data.php |
Represents the `data` and `included` objects of a top-level object. |
ErrorCollection |
core/modules/jsonapi/src/JsonApiResource/ErrorCollection.php |
To be used when the primary data is `errors`. |
IncludedData |
core/modules/jsonapi/src/JsonApiResource/IncludedData.php |
Represents the included member of a JSON:API document. |
JsonApiDocumentTopLevel |
core/modules/jsonapi/src/JsonApiResource/JsonApiDocumentTopLevel.php |
Represents a JSON:API document's "top level". |
LabelOnlyResourceObject |
core/modules/jsonapi/src/JsonApiResource/LabelOnlyResourceObject.php |
Value object decorating a ResourceObject; only its label is available. |
Link |
core/modules/jsonapi/src/JsonApiResource/Link.php |
Represents an RFC8288 based link. |
LinkCollection |
core/modules/jsonapi/src/JsonApiResource/LinkCollection.php |
Contains a set of JSON:API Link objects. |
NullIncludedData |
core/modules/jsonapi/src/JsonApiResource/NullIncludedData.php |
Use when there are no included resources but a Data object is required. |
OmittedData |
core/modules/jsonapi/src/JsonApiResource/OmittedData.php |
Represents resource data that should be omitted from the JSON:API document. |
Relationship |
core/modules/jsonapi/src/JsonApiResource/Relationship.php |
Represents references from one resource object to other resource object(s). |
RelationshipData |
core/modules/jsonapi/src/JsonApiResource/RelationshipData.php |
Represents the data of a relationship object or relationship document. |
ResourceIdentifier |
core/modules/jsonapi/src/JsonApiResource/ResourceIdentifier.php |
Represents a JSON:API resource identifier object. |
ResourceIdentifierInterface |
core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierInterface.php |
An interface for identifying a related resource. |
ResourceIdentifierTrait |
core/modules/jsonapi/src/JsonApiResource/ResourceIdentifierTrait.php |
Used to associate an object like an exception to a particular resource. |
ResourceObject |
core/modules/jsonapi/src/JsonApiResource/ResourceObject.php |
Represents a JSON:API resource object. |
ResourceObjectData |
core/modules/jsonapi/src/JsonApiResource/ResourceObjectData.php |
Represents the primary data for individual and collection documents. |
TopLevelDataInterface |
core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php |
Interface for objects that can appear as top-level object data. |