public function get($key)
    {
        $key = is_array($key) ? $key : [$key];
        $config = $this->data;
        while ($key) {
            $k = array_shift($key);
            $config = isset($config[$k]) ? $config[$k] : [];
        }
        return $config;
    }
public function get($key)
    {
        $key = is_array($key) ? $key : [$key];
        $config = $this->data;
        while ($key) {
            $k = array_shift($key);
            $config = isset($config[$k]) ? $config[$k] : [];
        }
        return $config;
    }
public function get ( $ key ) { $ key = is_array ( $ key ) ? $ key : [ $ key ] ; $ config = $ this -> data ; while ( $ key ) { $ k = array_shift ( $ key ) ; $ config = isset ( $ config [ $ k ] ) ? $ config [ $ k ] : [ ] ; } return $ config ; }
Gets data sub value.
@see \self::set() For multidimensional
@param $key
@return array|mixed
Gets data sub value .