| 1 | <?php |
||
| 21 | final class ArrayUtility { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Get a value. |
||
| 25 | * |
||
| 26 | * @param array $array The array. |
||
| 27 | * @param mixed $key The key. |
||
| 28 | * @param mixed $default The default value. |
||
| 29 | * @return mixed Returns the value in case of success, $default otherwise. |
||
| 30 | */ |
||
| 31 | public static function get(array $array, $key, $default = null) { |
||
| 34 | |||
| 35 | } |
||
| 36 |