eznio / ar
Array shortcut utils
1.1.2
2017-06-09 22:59 UTC
Requires
- php: >=7.0.0
Requires (Dev)
- phpunit/phpunit: ~7.0
README
Small collection of (sometimes) useful array-related tools.
function get(array $array, string $path); function each(array $array, callable $callback) function filter(array $array, callable $callback) function reject(array $array, callable $callback) function map(array $array, callable $callback) function reduce(array $array, callable $callback, mixed $initialValue) function sort(array $array, string $elementPath) function is1d(array $array) function is2d(array $array)
Documentation: https://eznio.github.io/ar/