TagApiSerializerTrait

Trait for implementing tags in an API Serializer

since

4.0.0

Methods

tags

Build tags relationship

tags(\stdClass $model) : \Tobscure\JsonApi\Relationship
since

4.0.0

Arguments

$model

\stdClassItem model

Response

\Tobscure\JsonApi\Relationship