PHP Class Art4\JsonApiClient\ResourceIdentifier

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

Protected Properties

Свойство Type Description
$container DataContainerInterface
$manager Art4\JsonApiClient\Utils\FactoryManagerInterface

Méthodes publiques

Méthode 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 méthode

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

get() public méthode

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

parse() public méthode

public parse ( object $object ) : self
$object object The error object
Résultat self

Property Details

$container protected_oe property

protected DataContainerInterface $container
Résultat DataContainerInterface

$manager protected_oe property

protected FactoryManagerInterface,Art4\JsonApiClient\Utils $manager
Résultat Art4\JsonApiClient\Utils\FactoryManagerInterface