protected static function getConfigReader($flush = false)
    {
        if ($flush || !isset(static::$config)) {
            $conf = [
                'path' => static::$configsPath,
                'appType' => static::$appType,
            ];
            static::$config = new \Reaction\Base\ConfigReader($conf);
        }
        return static::$config;
    }
protected static function getConfigReader($flush = false)
    {
        if ($flush || !isset(static::$config)) {
            $conf = [
                'path' => static::$configsPath,
                'appType' => static::$appType,
            ];
            static::$config = new \Reaction\Base\ConfigReader($conf);
        }
        return static::$config;
    }
protected static function getConfigReader ( $ flush = false ) { if ( $ flush || ! isset ( static :: $ config ) ) { $ conf = [ 'path' => static :: $ configsPath , 'appType' => static :: $ appType , ] ; static :: $ config = new \ Reaction \ Base \ ConfigReader ( $ conf ) ; } return static :: $ config ; }
Get instance of config reader
@param bool $flush
@return \Reaction\Base\ConfigReader
Get instance of config reader