Neomerx\JsonApi\Document\Document::addNullRelationshipToIncluded PHP Method

addNullRelationshipToIncluded() public method

public addNullRelationshipToIncluded ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $parent, Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface $relationship )
$parent Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface
$relationship Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface
    public function addNullRelationshipToIncluded(ResourceObjectInterface $parent, RelationshipObjectInterface $relationship)
    {
        $this->presenter->setRelationshipTo($this->bufferForIncluded, $parent, $relationship, null);
    }