Trait

TRex\Core\TObjectsModifier

trait TObjectsModifier

Class TObjectsModifier.

Implements IObjectsModifier.

Methods

IIterator getIterator()

Needs IIterator.

IObjects extract(int $startIndex, int $length, bool $areKeysPreserved = true)

See IObjectsComparator.

Objects each(Closure $callback)

See IObjectsComparator.

Objects filter(Closure $callback = null)

See IObjectsComparator.

Details

at line 20
abstract public IIterator getIterator()

Needs IIterator.

Return Value

IIterator

at line 30
public IObjects extract(int $startIndex, int $length, bool $areKeysPreserved = true)

See IObjectsComparator.

Parameters

int $startIndex
int $length
bool $areKeysPreserved

Return Value

IObjects

at line 44
public Objects each(Closure $callback)

See IObjectsComparator.

Parameters

Closure $callback

Return Value

Objects

at line 59
public Objects filter(Closure $callback = null)

See IObjectsComparator.

Parameters

Closure $callback

Return Value

Objects