src/Util.php
public static function get($arr, $key, $default=null) {
        return self::exists($arr, $key) ? $arr[$key]:$default;
    }
public static function get($arr, $key, $default=null) {
        return self::exists($arr, $key) ? $arr[$key]:$default;
    }
public static function get ( $ arr , $ key , $ default = null ) { return self :: exists ( $ arr , $ key ) ? $ arr [ $ key ] : $ default ; }
Return the value of a key or a default value.
@param array|\ArrayAccess $arr The array.
@param string|int $key The key.
@param mixed $default The default value to return.
@return mixed|null The value of that key.
Return the value of a key or a default value .