Middleware which filters the $options array.
CloneableInstantiable
| Methods |
| public __construct(callable $nextHandler, array $permittedOptions) |
| public __invoke(Google |
| Properties |
private $nextHandler = NULL
|
| private array $permittedOptions |
| Methods |
| private arrayFilterRemoveNull(array $arr) Just like array_filter(), but preserves falsey values except null.
|
| private arrayMergeRecursive(array $array1, array $array2) A method, similar to PHP's
|
| private isAssoc(array $arr) Determine whether given array is associative.
|
| private pluck(string $key, array $arr, bool $isRequired = true) Pluck a value out of an array.
|
| private pluckArray(array $keys, array $arr) Pluck a subset of an array.
|
| private subsetArray(array $keys, array $arr) Return a subset of an array, like pluckArray, without modifying the original array.
|