GroupCollection
in package
implements
IteratorAggregate
FinalYes
Tags
Table of Contents
Interfaces
- IteratorAggregate
Properties
- $groups : array<string|int, mixed>
Methods
- asArray() : array<string|int, mixed>
- asArrayOfStrings() : array<string|int, mixed>
- fromArray() : self
- getIterator() : GroupCollectionIterator
- isEmpty() : bool
- __construct() : mixed
Properties
$groups read-only
private
array<string|int, mixed>
$groups
Tags
Methods
asArray()
public
asArray() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>asArrayOfStrings()
public
asArrayOfStrings() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>fromArray()
public
static fromArray(array<string|int, mixed> $groups) : self
Parameters
- $groups : array<string|int, mixed>
Tags
Return values
selfgetIterator()
public
getIterator() : GroupCollectionIterator
Return values
GroupCollectionIteratorisEmpty()
public
isEmpty() : bool
Return values
bool__construct()
private
__construct(Group ...$groups) : mixed
Parameters
- $groups : Group