protected buildRelationship ( mixed $model, string | Closur\Closure | Tobscure\JsonApi\SerializerInterface $serializer, string | null $relation = null, boolean $many = false ) : |
||
$model | mixed | |
$serializer | string | Closur\Closure | Tobscure\JsonApi\SerializerInterface | |
$relation | string | null | |
$many | boolean | |
return |