commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
lib
commercetools-base
src
Base
CMap.php
1
<?php
2
3
declare(strict_types=1);
10
namespace
Commercetools\Base
;
11
12
use stdClass;
13
17
interface
CMap
extends
Collection
, \ArrayAccess, \JsonSerializable, \IteratorAggregate
18
{
24
public
static
function
of
($data =
null
);
25
29
public
function
toArray
(): ?array;
30
31
#[\ReturnTypeWillChange]
35
public
function
jsonSerialize
(): ?array;
36
41
public
static
function
fromStdClass
(stdClass $data =
null
);
42
48
public
static
function
fromArray
(array $data);
49
55
public
function
put
(
string
$key, $value);
56
60
public
function
at
(
string
$key);
61
65
public
function
with
(
string
$key, callable $callable =
null
);
66
67
public
function
getIterator
():
MapperIterator
;
68
72
public
function
current
();
73
77
public
function
next
();
78
82
public
function
key
();
83
87
public
function
valid
();
88
92
public
function
rewind
();
93
94
#[\ReturnTypeWillChange]
99
public
function
offsetExists
($offset);
100
101
#[\ReturnTypeWillChange]
106
public
function
offsetGet
($offset);
107
108
#[\ReturnTypeWillChange]
115
public
function
offsetSet
($offset, $value);
116
117
#[\ReturnTypeWillChange]
122
public
function
offsetUnset
($offset);
123
}
Commercetools\Base\MapperIterator
Definition
MapperIterator.php:13
Commercetools\Base\CMap
Definition
CMap.php:18
Commercetools\Base\CMap\jsonSerialize
jsonSerialize()
Commercetools\Base\CMap\put
put(string $key, $value)
Commercetools\Base\CMap\fromArray
static fromArray(array $data)
Commercetools\Base\CMap\toArray
toArray()
Commercetools\Base\CMap\fromStdClass
static fromStdClass(stdClass $data=null)
Commercetools\Base\CMap\with
with(string $key, callable $callable=null)
Commercetools\Base\CMap\offsetGet
offsetGet($offset)
Commercetools\Base\CMap\key
key()
Commercetools\Base\CMap\offsetSet
offsetSet($offset, $value)
Commercetools\Base\CMap\rewind
rewind()
Commercetools\Base\CMap\at
at(string $key)
Commercetools\Base\CMap\of
static of($data=null)
Commercetools\Base\CMap\offsetUnset
offsetUnset($offset)
Commercetools\Base\CMap\current
current()
Commercetools\Base\CMap\getIterator
getIterator()
Commercetools\Base\CMap\valid
valid()
Commercetools\Base\CMap\next
next()
Commercetools\Base\CMap\offsetExists
offsetExists($offset)
Commercetools\Base\Collection
Definition
Collection.php:13
Commercetools\Base
Definition
MapperArraySequence.php:10
Generated by
1.9.8