class GetApiRelationship
deprecated
Get an API serializer relationship.
This event is fired when a relationship is to be included on an API document.
If a handler wishes to fulfil the given relationship, then it should return
an instance of Tobscure\JsonApi\Relationship
.
Properties
AbstractSerializer | $serializer |
|
||
string | $relationship |
|
||
mixed | $model |
|