trait ResourceIdentifierTrait (View source)

internal  JSON:API maintains no PHP API. The API is the HTTP API. This class may change at any time and could break any dependencies on it.
 

Used to associate an object like an exception to a particular resource.

Properties

protected ResourceIdentifier $resourceIdentifier

A ResourceIdentifier object.

protected ResourceType $resourceType

The JSON:API resource type of the identified resource object.

Methods

getId()

{@inheritdoc}

getTypeName()

{@inheritdoc}

getResourceType()

{@inheritdoc}

Details

getId()

{@inheritdoc}

getTypeName()

{@inheritdoc}

getResourceType()

{@inheritdoc}