Method | Description | |
---|---|---|
add ( Neomerx\JsonApi\Contracts\Document\ErrorInterface $error ) | ||
addDataAttributeError ( string $name, string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
addDataError ( string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
addDataIdError ( string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
addDataTypeError ( string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
addQueryParameterError ( string $name, string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
addRelationshipError ( string $name, string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
addRelationshipIdError ( string $name, string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
addRelationshipTypeError ( string $name, string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
addRelationshipsError ( string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
count ( ) | ||
getArrayCopy ( ) : Neomerx\JsonApi\Contracts\Document\ErrorInterface[] | ||
getIterator ( ) | ||
offsetExists ( $offset ) | ||
offsetGet ( $offset ) : Neomerx\JsonApi\Contracts\Document\ErrorInterface | ||
offsetSet ( $offset, $value ) | ||
offsetUnset ( $offset ) | ||
serialize ( ) | ||
unserialize ( $serialized ) |
Method | Description | |
---|---|---|
addResourceError ( string $title, string $pointer, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
getPathToAttribute ( string $name ) : string | ||
getPathToData ( ) : string | ||
getPathToId ( ) : string | ||
getPathToRelationship ( string $name ) : string | ||
getPathToRelationshipId ( string $name ) : string | ||
getPathToRelationshipType ( string $name ) : string | ||
getPathToRelationships ( ) : string | ||
getPathToType ( ) : string |
public add ( Neomerx\JsonApi\Contracts\Document\ErrorInterface $error ) | ||
$error | Neomerx\JsonApi\Contracts\Document\ErrorInterface |
public addDataAttributeError ( string $name, string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
$name | string | |
$title | string | |
$detail | string | null | |
$status | integer | string | null | |
$idx | integer | string | null | |
$aboutLink | Neomerx\JsonApi\Contracts\Document\LinkInterface | |
$code | integer | string | null | |
$meta | mixed | null |
public addDataError ( string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
$title | string | |
$detail | string | null | |
$status | integer | string | null | |
$idx | integer | string | null | |
$aboutLink | Neomerx\JsonApi\Contracts\Document\LinkInterface | |
$code | integer | string | null | |
$meta | mixed | null |
public addDataIdError ( string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
$title | string | |
$detail | string | null | |
$status | integer | string | null | |
$idx | integer | string | null | |
$aboutLink | Neomerx\JsonApi\Contracts\Document\LinkInterface | |
$code | integer | string | null | |
$meta | mixed | null |
public addDataTypeError ( string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
$title | string | |
$detail | string | null | |
$status | integer | string | null | |
$idx | integer | string | null | |
$aboutLink | Neomerx\JsonApi\Contracts\Document\LinkInterface | |
$code | integer | string | null | |
$meta | mixed | null |
public addQueryParameterError ( string $name, string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
$name | string | |
$title | string | |
$detail | string | null | |
$status | integer | string | null | |
$idx | integer | string | null | |
$aboutLink | Neomerx\JsonApi\Contracts\Document\LinkInterface | |
$code | integer | string | null | |
$meta | mixed | null |
public addRelationshipError ( string $name, string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
$name | string | |
$title | string | |
$detail | string | null | |
$status | integer | string | null | |
$idx | integer | string | null | |
$aboutLink | Neomerx\JsonApi\Contracts\Document\LinkInterface | |
$code | integer | string | null | |
$meta | mixed | null |
public addRelationshipIdError ( string $name, string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
$name | string | |
$title | string | |
$detail | string | null | |
$status | integer | string | null | |
$idx | integer | string | null | |
$aboutLink | Neomerx\JsonApi\Contracts\Document\LinkInterface | |
$code | integer | string | null | |
$meta | mixed | null |
public addRelationshipTypeError ( string $name, string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
$name | string | |
$title | string | |
$detail | string | null | |
$status | integer | string | null | |
$idx | integer | string | null | |
$aboutLink | Neomerx\JsonApi\Contracts\Document\LinkInterface | |
$code | integer | string | null | |
$meta | mixed | null |
public addRelationshipsError ( string $title, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
$title | string | |
$detail | string | null | |
$status | integer | string | null | |
$idx | integer | string | null | |
$aboutLink | Neomerx\JsonApi\Contracts\Document\LinkInterface | |
$code | integer | string | null | |
$meta | mixed | null |
protected addResourceError ( string $title, string $pointer, string | null $detail = null, integer | string | null $status = null, integer | string | null $idx = null, Neomerx\JsonApi\Contracts\Document\LinkInterface $aboutLink = null, integer | string | null $code = null, mixed | null $meta = null ) | ||
$title | string | |
$pointer | string | |
$detail | string | null | |
$status | integer | string | null | |
$idx | integer | string | null | |
$aboutLink | Neomerx\JsonApi\Contracts\Document\LinkInterface | |
$code | integer | string | null | |
$meta | mixed | null |
public getArrayCopy ( ) : Neomerx\JsonApi\Contracts\Document\ErrorInterface[] | ||
return | Neomerx\JsonApi\Contracts\Document\ErrorInterface[] |
protected getPathToAttribute ( string $name ) : string | ||
$name | string | |
return | string |
protected getPathToRelationship ( string $name ) : string | ||
$name | string | |
return | string |
protected getPathToRelationshipId ( string $name ) : string | ||
$name | string | |
return | string |
protected getPathToRelationshipType ( string $name ) : string | ||
$name | string | |
return | string |
protected getPathToRelationships ( ) : string | ||
return | string |
public offsetGet ( $offset ) : Neomerx\JsonApi\Contracts\Document\ErrorInterface | ||
return | Neomerx\JsonApi\Contracts\Document\ErrorInterface |