Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
addEmptyRelationshipToData ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $parent, Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface $relationship ) | ||
addEmptyRelationshipToIncluded ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $parent, Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface $relationship ) | ||
addError ( Neomerx\JsonApi\Contracts\Document\ErrorInterface $error ) | ||
addErrors ( $errors ) | ||
addJsonApiVersion ( $version, $meta = null ) | ||
addNullRelationshipToData ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $parent, Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface $relationship ) | ||
addNullRelationshipToIncluded ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $parent, Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface $relationship ) | ||
addRelationshipToData ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $parent, Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface $relationship, Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $resource ) | ||
addRelationshipToIncluded ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $parent, Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface $relationship, Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $resource ) | ||
addToData ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $resource ) | ||
addToIncluded ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $resource ) | ||
getDocument ( ) | ||
getUrlPrefix ( ) : null | string | Get URL prefix. | |
setDocumentLinks ( $links ) | ||
setEmptyData ( ) | ||
setMetaToDocument ( $meta ) | ||
setNullData ( ) | ||
setResourceCompleted ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $resource ) | ||
setUrlPrefix ( $prefix ) | ||
unsetData ( ) |
public addEmptyRelationshipToData ( 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 addEmptyRelationshipToIncluded ( 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 addError ( Neomerx\JsonApi\Contracts\Document\ErrorInterface $error ) | ||
$error | Neomerx\JsonApi\Contracts\Document\ErrorInterface |
public addNullRelationshipToData ( 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 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 addRelationshipToData ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $parent, Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface $relationship, Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $resource ) | ||
$parent | Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface | |
$relationship | Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface | |
$resource | Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface |
public addRelationshipToIncluded ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $parent, Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface $relationship, Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $resource ) | ||
$parent | Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface | |
$relationship | Neomerx\JsonApi\Contracts\Schema\RelationshipObjectInterface | |
$resource | Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface |
public addToData ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $resource ) | ||
$resource | Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface |
public addToIncluded ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $resource ) | ||
$resource | Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface |
public getUrlPrefix ( ) : null | string | ||
return | null | string |
public setResourceCompleted ( Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface $resource ) | ||
$resource | Neomerx\JsonApi\Contracts\Schema\ResourceObjectInterface |