static from()
The from() static method creates a new, shallow-copied ArrayUtils instance from an iterable.
Example.php
Syntax
Parameter
$iterable
Iterable object to convert to an array.
Map function to call on every element of the array. Default is
NULL
. If is null, not execute map function.
Return value
A new
ArrayUtils
instance.
References
Last updated