PHP Interface Art4\JsonApiClient\ElementInterface

Inheritance: extends Art4\JsonApiClient\AccessInterface
Show file Open project: art4/json-api-client

Public Methods

Method Description
__construct ( Art4\JsonApiClient\Utils\FactoryManagerInterface $manager, Art4\JsonApiClient\AccessInterface $parent ) Sets the manager and parent
parse ( mixed $object ) : self Parses the data for this element

Method Details

__construct() public method

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

parse() public method

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