PHP Класс Art4\JsonApiClient\ResourceNull

Наследование: implements ResourceNullInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__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