Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
phpstreams
Stream
map
phpstreams\Stream::map PHP Method
Stream Class Documentation
Show file
Open project: bertptrs/phpstreams
map()
public
method
Map the values in the stream to another stream.
public
map
(
callable
$mapping
) :
Stream
$mapping
callable
return
Stream
a new stream with the variables mapped.
public function map(callable $mapping) { return new MappingOperation($this, $mapping); }
Stream
__construct
all
any
collect
count
distinct
filter
flatMap
getIterator
isSorted
isValidSource
limit
map
reduce
skip
sorted
toArray