Ds\Deque::apply

Ds\Deque::apply

(PECL ds >= 1.0.0)

Ds\Deque::applyUpdates all values by applying a callback function to each value.

Description

public void Ds\Deque::apply ( callable $callback )

Updates all values by applying a callback function to each value in the deque.

Parameters

callback
mixed callback ( mixed $value )

A 登录查看完整内容