protected function generateNames() {
        $env = getenv('APP_ENV');
        $env = strtolower((!empty($env) ? $env : \Reaction::APP_ENV_PROD));
        $suffixes = ['', $env, 'local'];
        $templates = ['main', $this->appType];
        $configFiles = [];
        foreach ($templates as $tpl) {
            foreach ($suffixes as $sfx) {
                $tplSuffix = $sfx ? '.' . $sfx : '';
                foreach ($this->extensions as $ext) {
                    $configFiles[] = $tpl . $tplSuffix . '.' . $ext;
                }
            }
        }
        return $configFiles;
    }