Summary
- File
- Package hierarchy Util
- Class hierarchy \Arrays
find(mixed $key, \mixed[mixed] $values, mixed $default = null) : mixed
searches for $key in $values keys and returns the associated value.
If it doesn't exist, it will return the $default value if it is not null. Otherwise a TokenNotFoundException will be thrown
mixed | $key | the value to look for |
\mixed[mixed] | $values | the availables values |
mixed | $default | the default value to return if the $key is not found |
the corresponding value
None found |
remove_key( $key, array $values)
$key | ||
array | $values |
None found |