Documentation

IterableArray

Tags
template

TKey

template

TInternal

template

TExternal

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

Properties

$iterable_array

private array<string|int, mixed>|null $iterable_array = null

$iterable_array_keys

private array<string|int, TKey> $iterable_array_keys = null

Methods

current()

public current() : TExternal
Return values
TExternal

offsetExists()

public offsetExists(mixed $offset) : bool
Parameters
$offset : mixed
Return values
bool

offsetGet()

public offsetGet(TKey $offset) : TExternal
Parameters
$offset : TKey
Return values
TExternal

offsetSet()

public offsetSet(TKey $offset, TExternal $value) : void
Parameters
$offset : TKey
$value : TExternal

offsetUnset()

public offsetUnset(TKey $offset) : void
Parameters
$offset : TKey

hookGetValue()

protected hookGetValue(TKey $offset, TInternal $value) : TExternal
Parameters
$offset : TKey
$value : TInternal
Return values
TExternal

hookSetValue()

protected hookSetValue(TKey $offset, TExternal $value) : TInternal
Parameters
$offset : TKey
$value : TExternal
Return values
TInternal

isIterableAs()

protected isIterableAs(array<string|int, mixed> &$array) : void
Parameters
$array : array<string|int, mixed>

        
On this page

Search results