src/Config/Config.php
private function _getEventsConfig()
    {
        $content = array(self:: MAIN_EVENTS_FILE => array());

        $configPath = $this->_configPath;
        if (! is_dir($configPath)) {
            return $content;
        }

        $files = DirData::listFilesRecursive($configPath, self:: MAIN_EVENTS_FILE . self::EXT);
        foreach ($files as $file) {
            $content[self:: MAIN_EVENTS_FILE] = array_merge_recursive(require($file), $content[self:: MAIN_EVENTS_FILE]);
        }

        return $content;
    }
private function _getEventsConfig()
    {
        $content = array(self:: MAIN_EVENTS_FILE => array());

        $configPath = $this->_configPath;
        if (! is_dir($configPath)) {
            return $content;
        }

        $files = DirData::listFilesRecursive($configPath, self:: MAIN_EVENTS_FILE . self::EXT);
        foreach ($files as $file) {
            $content[self:: MAIN_EVENTS_FILE] = array_merge_recursive(require($file), $content[self:: MAIN_EVENTS_FILE]);
        }

        return $content;
    }
private function _getEventsConfig ( ) { $ content = array ( self :: MAIN_EVENTS_FILE => array ( ) ) ; $ configPath = $ this -> _configPath ; if ( ! is_dir ( $ configPath ) ) { return $ content ; } $ files = DirData :: listFilesRecursive ( $ configPath , self :: MAIN_EVENTS_FILE . self :: EXT ) ; foreach ( $ files as $ file ) { $ content [ self :: MAIN_EVENTS_FILE ] = array_merge_recursive ( require ( $ file ) , $ content [ self :: MAIN_EVENTS_FILE ] ) ; } return $ content ; }
Search all events config files and get config value.

@return array
Search all events config files and get config value .