Property | Type | Description | |
---|---|---|---|
$container | DataContainerInterface | ||
$manager | Art4\JsonApiClient\Utils\FactoryManagerInterface |
Method | Description | |
---|---|---|
__construct ( Art4\JsonApiClient\Utils\FactoryManagerInterface $manager, Art4\JsonApiClient\AccessInterface $parent ) | Sets the manager and parent | |
get ( string $key ) : mixed | Get a value by the key of this document | |
parse ( mixed $object ) : self | Parses the data for this element |
Method | Description | |
---|---|---|
parseResource ( object $data ) : Art4\JsonApiClient\ElementInterface | Generate a new resource from an object |
public __construct ( Art4\JsonApiClient\Utils\FactoryManagerInterface $manager, Art4\JsonApiClient\AccessInterface $parent ) | ||
$manager | Art4\JsonApiClient\Utils\FactoryManagerInterface | The manager |
$parent | Art4\JsonApiClient\AccessInterface | The parent |
protected parseResource ( object $data ) : Art4\JsonApiClient\ElementInterface | ||
$data | object | The resource data |
return | Art4\JsonApiClient\ElementInterface | The resource |
protected DataContainerInterface $container | ||
return | DataContainerInterface |