Add a null relationship to resource in 'included' section.
public addNullRelationshipToIncluded ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $parent, Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface $relationship ) : void | ||
$parent | Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface | |
$relationship | Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface | |
return | void |