The of() static method creates a new, ArrayUtils instance from variadic function arguments
Last updated 4 years ago
<?php use kim\present\utils\arrays\ArrayUtils; ArrayUtils::of(3,6,9); // expected output: ArrayUtils(array(3, 6, 9))
ArrayUtils::of(mixed ...$elements) : ArrayUtils
...$elements
Elements used to create the array.
A new ArrayUtils instance.
ArrayUtils