commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-base
src
Base
CSequence.php
1
<?php
2
3
declare(strict_types=1);
10
namespace
Commercetools\Base
;
11
12
use stdClass;
13
18
interface
CSequence
extends
Collection
, \ArrayAccess, \JsonSerializable, \IteratorAggregate
19
{
20
public
function
toArray
(): ?array;
21
22
#[\ReturnTypeWillChange]
23
public
function
jsonSerialize
(): ?array;
24
30
public
static
function
fromArray
(array $data);
31
37
public
function
add
($value);
38
42
public
function
at
(
int
$index);
43
44
public
function
getIterator
():
MapperIterator
;
45
49
public
function
current
();
50
54
public
function
end
();
55
59
public
function
next
();
60
64
public
function
key
();
65
69
public
function
valid
();
70
74
public
function
rewind
();
75
76
#[\ReturnTypeWillChange]
81
public
function
offsetExists
($offset);
82
83
#[\ReturnTypeWillChange]
88
public
function
offsetGet
($offset);
89
90
#[\ReturnTypeWillChange]
97
public
function
offsetSet
($offset, $value);
98
99
#[\ReturnTypeWillChange]
104
public
function
offsetUnset
($offset);
105
}
Commercetools\Base\MapperIterator
Definition:
MapperIterator.php:13
Commercetools\Base\CSequence
Definition:
CSequence.php:19
Commercetools\Base\CSequence\offsetUnset
offsetUnset($offset)
Commercetools\Base\CSequence\end
end()
Commercetools\Base\CSequence\getIterator
getIterator()
Commercetools\Base\CSequence\key
key()
Commercetools\Base\CSequence\fromArray
static fromArray(array $data)
Commercetools\Base\CSequence\valid
valid()
Commercetools\Base\CSequence\rewind
rewind()
Commercetools\Base\CSequence\offsetGet
offsetGet($offset)
Commercetools\Base\CSequence\current
current()
Commercetools\Base\CSequence\next
next()
Commercetools\Base\CSequence\offsetSet
offsetSet($offset, $value)
Commercetools\Base\CSequence\at
at(int $index)
Commercetools\Base\CSequence\offsetExists
offsetExists($offset)
Commercetools\Base\CSequence\add
add($value)
Commercetools\Base\CSequence\toArray
toArray()
Commercetools\Base\CSequence\jsonSerialize
jsonSerialize()
Commercetools\Base\Collection
Definition:
Collection.php:13
Commercetools\Base
Definition:
MapperArraySequence.php:10
Generated by
1.9.1