private function _getConfigEnv() { $configPath = Path::join(ROOT_PATH, 'config', getenv('environment'), 'config.php'); if (file_exists($configPath)) { /** @noinspection PhpIncludeInspection */ return require $configPath; } return array(); }