Add a null relationship to resource in 'data' section.
public addNullRelationshipToData ( 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 |