Method |
Description |
|
getAttributes ( ) : array |
Get resource attributes. |
|
getId ( ) : string |
Get resource ID. |
|
getIncludedResourceLinks ( ) : array |
Get links related to resource when it is in 'included' section. |
|
getInclusionMeta ( ) : array | object | null |
Get meta-information about resource object. |
|
getLinkageMeta ( ) : array | object | null |
Get meta-information about resource object. |
|
getPrimaryMeta ( ) : array | object | null |
Get meta-information about resource object. |
|
getRelationshipsInclusionMeta ( ) : array | object | null |
Get meta-information about resource relationships when resource is included. |
|
getRelationshipsPrimaryMeta ( ) : array | object | null |
Get meta-information about resource relationships when resource is primary. |
|
getResourceLinks ( ) : array |
Get links related to resource. |
|
getSelfSubLink ( ) : Neomerx\JsonApi\Contracts\Document\LinkInterface |
Get resource 'self' endpoint URL. |
|
getType ( ) : string |
Get resource type. |
|
isInArray ( ) : boolean |
If original data we part of an array of elements. |
|
isShowAttributesInIncluded ( ) : boolean |
If resource attributes should be shown when the resource is within 'included'. |
|