Ds\Sequence::map

Ds\Sequence::map

(PECL ds >= 1.0.0)

Ds\Sequence::mapReturns the result of applying a callback to each value.

Description

abstract public Ds\Sequence Ds\Sequence::map ( callable $callback )

Returns the result of applying a callback function to each value in the sequence.

Parameters

callback
mixed callback ( mixed $value )

A 登录查看完整内容