Trait

TRex\Iterator\TKeyAccessor

trait TKeyAccessor

Implements IKeyAccessor.

Methods

IIterator getIterator()

Needs IIterator.

array getKeys()

See IKeyAccessor.

mixed|null getKey(int $index)

See IKeyAccessor.

mixed|null getFirstKey()

See IKeyAccessor.

mixed|null getLastKey()

See IKeyAccessor.

Details

at line 18
abstract public IIterator getIterator()

Needs IIterator.

Return Value

IIterator

at line 26
public array getKeys()

See IKeyAccessor.

Return Value

array

at line 37
public mixed|null getKey(int $index)

See IKeyAccessor.

Parameters

int $index

Return Value

mixed|null

at line 53
public mixed|null getFirstKey()

See IKeyAccessor.

Return Value

mixed|null

at line 63
public mixed|null getLastKey()

See IKeyAccessor.

Return Value

mixed|null