UserCollection
implements
IteratorAggregate, Arrayable
Table of Contents
Interfaces
- IteratorAggregate
- Arrayable
Methods
-
__construct()
: mixed
-
add()
: static
-
getIterator()
: ArrayIterator
-
toArray()
: array<string|int, mixed>
__construct()
public
__construct(User ...$users) : mixed
Parameters
-
$users
: User
-
add()
public
add(User $user) : static
Parameters
-
$user
: User
-
getIterator()
public
getIterator() : ArrayIterator
Return values
ArrayIterator
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>