The 'Arr' class offers a comprehensive set of static methods for array
manipulation and handling. This utility class provides functionalities
for common array operations such as sorting, filtering, merging, mapping,
and searching. By encapsulating these functionalities within a single class,
'Arr' simplifies array processing tasks and promotes code reusability.
Developers can leverage the methods provided by 'Arr' to efficiently work
with arrays in their applications, improving productivity, maintainability,
and overall code organization.
Summary
MethodsPropertiesConstantswrap No public properties foundNo public constants foundNo protected methods foundNo protected properties foundNo protected constants foundNo private methods foundNo private properties foundNo private constants found
Methods
wrap()
wrap(mixed $value) : array
If the given value is not an array and not null, wrap it
in a single value.