PHP 클래스 Art4\JsonApiClient\ResourceNull

상속: implements ResourceNullInterface
파일 보기 프로젝트 열기: art4/json-api-client

공개 메소드들

메소드 설명
__construct ( Art4\JsonApiClient\Utils\FactoryManagerInterface $manager, Art4\JsonApiClient\AccessInterface $parent ) Constructor need for mocking
asArray ( ) : null Convert this object in an array
get ( string $key ) Get a value by the key of this identifier
getKeys ( ) : array Returns the keys of all setted values in this resource
has ( string $key ) : boolean Check if a value exists in this resource
parse ( mixed $object ) : self Parses the data for this element

메소드 상세

__construct() 공개 메소드

Constructor need for mocking
public __construct ( Art4\JsonApiClient\Utils\FactoryManagerInterface $manager, Art4\JsonApiClient\AccessInterface $parent )
$manager Art4\JsonApiClient\Utils\FactoryManagerInterface The manager
$parent Art4\JsonApiClient\AccessInterface The parent

asArray() 공개 메소드

Convert this object in an array
public asArray ( ) : null
리턴 null

get() 공개 메소드

Get a value by the key of this identifier
public get ( string $key )
$key string The key of the value

getKeys() 공개 메소드

Returns the keys of all setted values in this resource
public getKeys ( ) : array
리턴 array Keys of all setted values

has() 공개 메소드

Check if a value exists in this resource
public has ( string $key ) : boolean
$key string The key of the value
리턴 boolean false

parse() 공개 메소드

Parses the data for this element
public parse ( mixed $object ) : self
$object mixed The data
리턴 self