getValue()
getValue(string $key, array $array, mixed $defaultValue) : mixed
Returns a specific value from the given array (or the default value if not set).
Parameters
| string | $key | the item key. |
| array | $array | the array to get from. |
| mixed | $defaultValue | the default value. |
Returns
mixed —the value.