RUA_Collection
implements
IteratorAggregate, Countable
Interfaces, Classes, Traits and Enums
- IteratorAggregate
- Countable
Table of Contents
-
__construct()
: mixed
-
add()
: self
-
all()
: array<string|int, mixed>
-
count()
: mixed
-
filter()
: static
-
get()
: mixed|null
-
has()
: bool
-
is_empty()
: bool
-
pop()
: mixed|null
-
put()
: self
-
remove()
: self
__construct()
public
__construct([mixed $items = [] ]) : mixed
Parameters
-
$items
: mixed
= []
-
Return values
mixed
—
add()
public
add(mixed $value) : self
Parameters
-
$value
: mixed
-
-
since
-
2.1
Return values
self
—
all()
public
all() : array<string|int, mixed>
-
since
-
2.1
Return values
array<string|int, mixed>
—
count()
public
count() : mixed
-
inheritDoc
-
Return values
mixed
—
filter()
public
filter(callable $callback) : static
Parameters
-
$callback
: callable
-
-
since
-
2.1
Return values
static
—
get()
public
get(string $key[, mixed|null $default_value = null ]) : mixed|null
Parameters
-
$key
: string
-
-
$default_value
: mixed|null
= null
-
-
since
-
2.1
Return values
mixed|null
—
has()
public
has(string $key) : bool
Parameters
-
$key
: string
-
-
since
-
2.1
Return values
bool
—
is_empty()
public
is_empty() : bool
-
since
-
2.2
Return values
bool
—
pop()
public
pop() : mixed|null
-
since
-
2.1
Return values
mixed|null
—
put()
public
put(string $key, mixed $value) : self
Parameters
-
$key
: string
-
-
$value
: mixed
-
-
since
-
2.1
Return values
self
—
remove()
public
remove(string $key) : self
Parameters
-
$key
: string
-
-
since
-
2.1
Return values
self
—