PHP Class Art4\JsonApiClient\ResourceIdentifier

See also: http://jsonapi.org/format/#document-resource-identifier-objects
Inheritance: implements ResourceIdentifierInterface, use trait Art4\JsonApiClient\Utils\AccessTrait
Exibir arquivo Open project: art4/json-api-client

Protected Properties

Property Type Description
$container DataContainerInterface
$manager Art4\JsonApiClient\Utils\FactoryManagerInterface

Public Methods

Method Description
__construct ( Art4\JsonApiClient\Utils\FactoryManagerInterface $manager, Art4\JsonApiClient\AccessInterface $parent ) : self
get ( string $key ) : mixed Get a value by the key of this object
parse ( object $object ) : self

Method Details

__construct() public method

public __construct ( Art4\JsonApiClient\Utils\FactoryManagerInterface $manager, Art4\JsonApiClient\AccessInterface $parent ) : self
$manager Art4\JsonApiClient\Utils\FactoryManagerInterface
$parent Art4\JsonApiClient\AccessInterface
return self

get() public method

Get a value by the key of this object
public get ( string $key ) : mixed
$key string The key of the value
return mixed The value

parse() public method

public parse ( object $object ) : self
$object object The error object
return self

Property Details

$container protected_oe property

protected DataContainerInterface $container
return DataContainerInterface

$manager protected_oe property

protected FactoryManagerInterface,Art4\JsonApiClient\Utils $manager
return Art4\JsonApiClient\Utils\FactoryManagerInterface