Trait

TRex\Iterator\TArrayAccess

trait TArrayAccess

Implements \ArrayAccess.

Methods

IIterator getIterator()

Needs IIterator.

offsetExists($offset)

See \ArrayAccess doc.

offsetGet($offset)

See \ArrayAccess doc.

offsetSet($offset, $value)

See \ArrayAccess doc.

offsetUnset($offset)

See \ArrayAccess doc.

Details

at line 18
abstract public IIterator getIterator()

Needs IIterator.

Return Value

IIterator

at line 25
public offsetExists($offset)

See \ArrayAccess doc.

Parameters

$offset

at line 35
public offsetGet($offset)

See \ArrayAccess doc.

Parameters

$offset

at line 45
public offsetSet($offset, $value)

See \ArrayAccess doc.

Parameters

$offset
$value

at line 55
public offsetUnset($offset)

See \ArrayAccess doc.

Parameters

$offset