Ds\Sequence::apply

Ds\Sequence::apply

(PECL ds >= 1.0.0)

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 callback function to each value in the sequence.

Parameters

callback
mixed callback ( mixed $value )

A 登录查看完整内容