src/Colorium/Tools/ArrayDot.php
public static function get(array $array, $key, $fallback = null)
    {
        $keys = explode('.', $key);
        foreach($keys as $key) {
            if(!isset($array[$key])) {
                return $fallback;
            }
            $array = $array[$key];
        }

        return $array;
    }
public static function get(array $array, $key, $fallback = null)
    {
        $keys = explode('.', $key);
        foreach($keys as $key) {
            if(!isset($array[$key])) {
                return $fallback;
            }
            $array = $array[$key];
        }

        return $array;
    }
public static function get ( array $ array , $ key , $ fallback = null ) { $ keys = explode ( '.' , $ key ) ; foreach ( $ keys as $ key ) { if ( ! isset ( $ array [ $ key ] ) ) { return $ fallback ; } $ array = $ array [ $ key ] ; } return $ array ; }
Get value from array

@param array $array
@param string $key
@param mixed $fallback
@return mixed
Get value from array