src/Helper/Arr.php
public static function get(array $array, $namespace = null, $separator = '.')
    {
        if (!is_string($namespace)) {
            return $array;
        }

        $keys = explode($separator, $namespace);

        while (count($keys) > 0 and !is_null($array)) {
            $key = array_shift($keys);
            $array = isset($array[$key]) ? $array[$key] : null;
        }

        return $array;
    }
public static function get(array $array, $namespace = null, $separator = '.')
    {
        if (!is_string($namespace)) {
            return $array;
        }

        $keys = explode($separator, $namespace);

        while (count($keys) > 0 and !is_null($array)) {
            $key = array_shift($keys);
            $array = isset($array[$key]) ? $array[$key] : null;
        }

        return $array;
    }
public static function get ( array $ array , $ namespace = null , $ separator = '.' ) { if ( ! is_string ( $ namespace ) ) { return $ array ; } $ keys = explode ( $ separator , $ namespace ) ; while ( count ( $ keys ) > 0 and ! is_null ( $ array ) ) { $ key = array_shift ( $ keys ) ; $ array = isset ( $ array [ $ key ] ) ? $ array [ $ key ] : null ; } return $ array ; }
Getter for multidimensional arrays.

@param array $array
@param string|null $namespace
@param string $separator

@return mixed
Getter for multidimensional arrays .