-
extends
-
Table of Contents
Methods
-
__clone()
: void
-
__construct()
: mixed
-
add()
: void
-
all()
: array<int, T>
-
clear()
: void
-
contains()
: bool
-
count()
: int
-
filter()
: self
-
first()
: T|null
-
get()
: T|null
-
getAppCodes()
: array<string|int, mixed>
-
getAppIds()
: array<string|int, mixed>
-
getIterator()
: Traversable<int, T>
-
isEmpty()
: bool
-
map()
: array<int, ReturnT>
-
remove()
: void
__clone()
public
__clone() : void
__construct()
public
__construct(array<int, T> ...$items) : mixed
Parameters
-
$items
: array<int, T>
-
-
throws
-
ArgumentException
add()
public
add(T $item) : void
Parameters
-
$item
: T
-
-
throws
-
ArgumentException
all()
public
all() : array<int, T>
Return values
array<int, T>
clear()
public
clear() : void
contains()
public
contains(T $item) : bool
Parameters
-
$item
: T
-
count()
public
count() : int
filter()
public
filter(callable(T): bool $callback) : self
Parameters
-
$callback
: callable(T): bool
-
-
throws
-
ArgumentException
first()
public
first() : T|null
get()
public
get(int $index) : T|null
Parameters
-
$index
: int
-
getAppCodes()
public
getAppCodes() : array<string|int, mixed>
Return values
array<string|int, mixed>
getAppIds()
public
getAppIds() : array<string|int, mixed>
Return values
array<string|int, mixed>
getIterator()
public
getIterator() : Traversable<int, T>
Return values
Traversable<int, T>
isEmpty()
public
isEmpty() : bool
map()
public
map(callable(T): ReturnT $callback) : array<int, ReturnT>
Parameters
-
$callback
: callable(T): ReturnT
-
-
template
-
Return values
array<int, ReturnT>
remove()
public
remove(int $index) : void
Parameters
-
$index
: int
-