Ds\Deque::map

Ds\Deque::map

(PECL ds >= 1.0.0)

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

Description

public Ds\Deque Ds\Deque::map ( callable $callback )

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

Parameters

callback
mixed callback ( mixed $value )

A 登录查看完整内容