Ds\Vector::apply

Ds\Vector::apply

(PECL ds >= 1.0.0)

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

Description

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

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

Parameters

callback
mixed callback ( mixed $value )

A 登录查看完整内容