commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
|
Public Member Functions | |
toArray () | |
jsonSerialize () | |
put (string $key, $value) | |
at (string $key) | |
with (string $key, callable $callable=null) | |
getIterator () | |
current () | |
next () | |
key () | |
valid () | |
rewind () | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $value) | |
offsetUnset ($offset) | |
Static Public Member Functions | |
static | of ($data=null) |
static | fromStdClass (stdClass $data=null) |
static | fromArray (array $data) |
Commercetools\Base\CMap::at | ( | string | $key | ) |
@psalm-return ?TObject
Implemented in Commercetools\Base\MapperMap.
Commercetools\Base\CMap::current | ( | ) |
Implemented in Commercetools\Base\MapperMap.
|
static |
@template T @psalm-param array<string, T|stdClass> $data
Implemented in Commercetools\Base\MapperMap.
|
static |
@psalm-param ?stdClass $data @psalm-return static
Implemented in Commercetools\Base\MapperMap.
Commercetools\Base\CMap::getIterator | ( | ) |
Implemented in Commercetools\Base\MapperMap.
Commercetools\Base\CMap::jsonSerialize | ( | ) |
@psalm-return array<string, stdClass|mixed>
Implemented in Commercetools\Base\MapperMap.
Commercetools\Base\CMap::key | ( | ) |
Implemented in Commercetools\Base\MapperMap.
Commercetools\Base\CMap::next | ( | ) |
Implemented in Commercetools\Base\MapperMap.
|
static |
@template T @psalm-param ?stdClass|array<string, T|stdClass> $data
Implemented in Commercetools\Base\MapperMap.
Commercetools\Base\CMap::offsetExists | ( | $offset | ) |
Commercetools\Base\CMap::offsetGet | ( | $offset | ) |
Commercetools\Base\CMap::offsetSet | ( | $offset, | |
$value | |||
) |
string | $offset | @psalm-param TObject|stdClass $value |
mixed | $value |
Implemented in Commercetools\Base\MapperMap.
Commercetools\Base\CMap::offsetUnset | ( | $offset | ) |
Commercetools\Base\CMap::put | ( | string | $key, |
$value | |||
) |
@psalm-param TObject|stdClass $value
$value |
Implemented in Commercetools\Base\MapperMap.
Commercetools\Base\CMap::rewind | ( | ) |
Implemented in Commercetools\Base\MapperMap.
Commercetools\Base\CMap::toArray | ( | ) |
@psalm-return array<string, stdClass|mixed>
Implemented in Commercetools\Base\MapperMap.
Commercetools\Base\CMap::valid | ( | ) |
Implemented in Commercetools\Base\MapperMap.
Commercetools\Base\CMap::with | ( | string | $key, |
callable | $callable = null |
||
) |
Implemented in Commercetools\Base\MapperMap.