PHP 클래스 Neomerx\JsonApi\Exceptions\ErrorCollection

상속: implements IteratorAggregat\IteratorAggregate, implements ArrayAcces\ArrayAccess, implements Serializabl\Serializable, implements Countabl\Countable
파일 보기 프로젝트 열기: neomerx/json-api 1 사용 예제들

공개 메소드들

메소드 설명
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 )

보호된 메소드들

메소드 설명
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

메소드 상세

add() 공개 메소드

public add ( Neomerx\JsonApi\Contracts\Document\ErrorInterface $error )
$error Neomerx\JsonApi\Contracts\Document\ErrorInterface

addDataAttributeError() 공개 메소드

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

addDataError() 공개 메소드

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

addDataIdError() 공개 메소드

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

addDataTypeError() 공개 메소드

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

addQueryParameterError() 공개 메소드

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

addRelationshipError() 공개 메소드

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

addRelationshipIdError() 공개 메소드

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

addRelationshipTypeError() 공개 메소드

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

addRelationshipsError() 공개 메소드

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

addResourceError() 보호된 메소드

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

count() 공개 메소드

public count ( )

getArrayCopy() 공개 메소드

public getArrayCopy ( ) : Neomerx\JsonApi\Contracts\Document\ErrorInterface[]
리턴 Neomerx\JsonApi\Contracts\Document\ErrorInterface[]

getIterator() 공개 메소드

public getIterator ( )

getPathToAttribute() 보호된 메소드

protected getPathToAttribute ( string $name ) : string
$name string
리턴 string

getPathToData() 보호된 메소드

protected getPathToData ( ) : string
리턴 string

getPathToId() 보호된 메소드

protected getPathToId ( ) : string
리턴 string

getPathToRelationship() 보호된 메소드

protected getPathToRelationship ( string $name ) : string
$name string
리턴 string

getPathToRelationshipId() 보호된 메소드

protected getPathToRelationshipId ( string $name ) : string
$name string
리턴 string

getPathToRelationshipType() 보호된 메소드

protected getPathToRelationshipType ( string $name ) : string
$name string
리턴 string

getPathToRelationships() 보호된 메소드

protected getPathToRelationships ( ) : string
리턴 string

getPathToType() 보호된 메소드

protected getPathToType ( ) : string
리턴 string

offsetExists() 공개 메소드

public offsetExists ( $offset )

offsetGet() 공개 메소드

public offsetGet ( $offset ) : Neomerx\JsonApi\Contracts\Document\ErrorInterface
리턴 Neomerx\JsonApi\Contracts\Document\ErrorInterface

offsetSet() 공개 메소드

public offsetSet ( $offset, $value )

offsetUnset() 공개 메소드

public offsetUnset ( $offset )

serialize() 공개 메소드

public serialize ( )

unserialize() 공개 메소드

public unserialize ( $serialized )