![]() |
commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
|
Inherits Commercetools\Base\MapperSequence, and Commercetools\Base\MapperSequence.
Public Member Functions | |
| add ($value) | |
Public Member Functions inherited from Commercetools\Base\MapperSequence | |
| __construct (?array $data=null) | |
| toArray () | |
| jsonSerialize () | |
| at (int $index) | |
| getIterator () | |
| current () | |
| end () | |
| next () | |
| key () | |
| valid () | |
| rewind () | |
| offsetExists ($offset) | |
| offsetGet ($offset) | |
| offsetSet ($offset, $value) | |
| offsetUnset ($offset) | |
Protected Member Functions | |
| mapper () | |
Protected Member Functions inherited from Commercetools\Base\MapperSequence | |
| index ($data) | |
| get (?int $index) | |
| set ($data, ?int $index) | |
| store ($value) | |
| addToIndex (string $field, string $key, int $index) | |
| valueByKey (string $field, string $key) | |
Additional Inherited Members | |
Static Public Member Functions inherited from Commercetools\Base\MapperSequence | |
| static | fromArray (array $data) |
| static | of () |
<Attribute> @method Attribute current() @method Attribute at($offset)
Definition at line 16 of file NestedAttribute.php.
| Commercetools\Api\Models\Product\NestedAttribute::add | ( | $value | ) |
@psalm-assert Attribute $value @psalm-param Attribute|stdClass $value
| InvalidArgumentException |
Reimplemented from Commercetools\Base\MapperSequence.
Definition at line 25 of file NestedAttribute.php.
|
protected |
@psalm-return callable(int):?Attribute
Reimplemented from Commercetools\Base\MapperSequence.
Definition at line 38 of file NestedAttribute.php.