Свойство | Тип | Описание | |
---|---|---|---|
$container | DataContainerInterface | ||
$manager | Art4\JsonApiClient\Utils\FactoryManagerInterface |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
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 |
Результат | Art4\JsonApiClient\ElementInterface | The resource |
protected DataContainerInterface $container | ||
Результат | DataContainerInterface |