|
Ds\Sequence::applyUpdates all values by applying a callback function to each value Description
abstract public void Ds\Sequence::apply(callable
$callback )
Updates all values by applying a Parameters
Return ValuesNo value is returned. ExamplesExample #1 Ds\Sequence::apply example
The above example will output something similar to: Ds\Vector Object ( [0] => 2 [1] => 4 [2] => 6 ) |