IterableArray
-
template
-
-
template
-
-
template
-
Table of Contents
Properties
-
$iterable_array
: array<string|int, mixed>|null
-
$iterable_array_keys
: array<string|int, TKey>
Methods
-
count()
: int
-
current()
: TExternal
-
key()
: TKey
-
next()
: void
-
offsetExists()
: bool
-
offsetGet()
: TExternal
-
offsetSet()
: void
-
offsetUnset()
: void
-
rewind()
: void
-
valid()
: bool
-
hookGetValue()
: TExternal
-
hookSetValue()
: TInternal
-
isIterableAs()
: void
$iterable_array
private
array<string|int, mixed>|null
$iterable_array
= null
$iterable_array_keys
private
array<string|int, TKey>
$iterable_array_keys
= null
count()
public
count() : int
current()
public
current() : TExternal
key()
public
key() : TKey
next()
public
next() : void
offsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
-
$offset
: mixed
-
offsetGet()
public
offsetGet(TKey $offset) : TExternal
Parameters
-
$offset
: TKey
-
offsetSet()
public
offsetSet(TKey $offset, TExternal $value) : void
Parameters
-
$offset
: TKey
-
-
$value
: TExternal
-
offsetUnset()
public
offsetUnset(TKey $offset) : void
Parameters
-
$offset
: TKey
-
rewind()
public
rewind() : void
valid()
public
valid() : bool
hookGetValue()
protected
hookGetValue(TKey $offset, TInternal $value) : TExternal
Parameters
-
$offset
: TKey
-
-
$value
: TInternal
-
hookSetValue()
protected
hookSetValue(TKey $offset, TExternal $value) : TInternal
Parameters
-
$offset
: TKey
-
-
$value
: TExternal
-
isIterableAs()
protected
isIterableAs(array<string|int, mixed> &$array) : void
Parameters
-
$array
: array<string|int, mixed>
-