PHP 클래스 Art4\JsonApiClient\ErrorCollection

또한 보기: http://jsonapi.org/format/#error-objects
상속: implements ErrorCollectionInterface, use trait Art4\JsonApiClient\Utils\AccessTrait
파일 보기 프로젝트 열기: art4/json-api-client

보호된 프로퍼티들

프로퍼티 타입 설명
$container DataContainerInterface
$manager Art4\JsonApiClient\Utils\FactoryManagerInterface

공개 메소드들

메소드 설명
__construct ( Art4\JsonApiClient\Utils\FactoryManagerInterface $manager, Art4\JsonApiClient\AccessInterface $parent ) Sets the manager and parent
get ( string $key ) : mixed Get a value by the key of this document
parse ( $errors ) : self Parses the data for this element

메소드 상세

__construct() 공개 메소드

Sets the manager and parent
public __construct ( Art4\JsonApiClient\Utils\FactoryManagerInterface $manager, Art4\JsonApiClient\AccessInterface $parent )
$manager Art4\JsonApiClient\Utils\FactoryManagerInterface The manager
$parent Art4\JsonApiClient\AccessInterface The parent

get() 공개 메소드

Get a value by the key of this document
public get ( string $key ) : mixed
$key string The key of the value
리턴 mixed The value

parse() 공개 메소드

Parses the data for this element
public parse ( $errors ) : self
리턴 self

프로퍼티 상세

$container 보호되어 있는 프로퍼티

protected DataContainerInterface $container
리턴 DataContainerInterface

$manager 보호되어 있는 프로퍼티

protected FactoryManagerInterface,Art4\JsonApiClient\Utils $manager
리턴 Art4\JsonApiClient\Utils\FactoryManagerInterface