public static function read($key = false)
    {
        if(is_array($key) && !empty($key)) {
            $_value_to_be_returned = self::$_config;
            foreach(array_values($key) as $key => $_val) {
                $_value_to_be_returned = $_value_to_be_returned[$_val];
            }

            return $_value_to_be_returned;
        }

        return isset(self::$_config[$key]) ? self::$_config[$key] : false;
    }
public static function read($key = false)
    {
        if(is_array($key) && !empty($key)) {
            $_value_to_be_returned = self::$_config;
            foreach(array_values($key) as $key => $_val) {
                $_value_to_be_returned = $_value_to_be_returned[$_val];
            }

            return $_value_to_be_returned;
        }

        return isset(self::$_config[$key]) ? self::$_config[$key] : false;
    }
public static function read ( $ key = false ) { if ( is_array ( $ key ) && ! empty ( $ key ) ) { $ _value_to_be_returned = self :: $ _config ; foreach ( array_values ( $ key ) as $ key => $ _val ) { $ _value_to_be_returned = $ _value_to_be_returned [ $ _val ] ; } return $ _value_to_be_returned ; } return isset ( self :: $ _config [ $ key ] ) ? self :: $ _config [ $ key ] : false ; }
This function returns the value of the key in the config.

@param bool|false $key
@return mixed
This function returns the value of the key in the config .