Partitions implements ArrayAccess, Countable, IteratorAggregate
Read onlyYes
FinalYes
Tags
Interfaces
- ArrayAccess
- Countable
- IteratorAggregate
Methods
- __construct() : mixed
- count() : int
- get() : Partition
- getIterator() : Traversable
- has() : bool
- id() : string
- offsetExists() : bool
- offsetGet() : mixed
- offsetSet() : void
- offsetUnset() : void
- toArray() : array<string|int, Partition>
Methods
__construct()
public
__construct(Partition ...$partitions) : mixed
Parameters
- $partitions : Partition
count()
public
count() : int
Return values
intget()
public
get(string $name) : Partition
Parameters
- $name : string
Return values
PartitiongetIterator()
public
getIterator() : Traversable
Return values
Traversablehas()
public
has(string $name) : bool
Parameters
- $name : string
Return values
boolid()
public
id() : string
Return values
stringoffsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
offsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
toArray()
public
toArray() : array<string|int, Partition>