Documentation

GroupCollection
in package
implements IteratorAggregate

Read onlyYes
FinalYes
Tags
no-named-arguments

Parameter names are not covered by the backward compatibility promise for PHPUnit

immutable
template-implements

IteratorAggregate<non-negative-int, Group>

Table of Contents

Interfaces

IteratorAggregate

Properties

$groups  : array<int, Group>

Methods

asArray()  : array<int, Group>
asArrayOfStrings()  : array<int, string>
fromArray()  : self
getIterator()  : GroupCollectionIterator
isEmpty()  : bool
__construct()  : mixed

Properties

Methods

asArrayOfStrings()

public asArrayOfStrings() : array<int, string>
Return values
array<int, string>

fromArray()

public static fromArray(array<int, Group$groups) : self
Parameters
$groups : array<int, Group>
Return values
self
On this page

Search results