public function getPluginConfigAll()
{
if ($this['debug']) {
return $this->parsePluginConfigs();
}
$pluginConfigCache = $this->getPluginConfigCacheFile();
if (file_exists($pluginConfigCache)) {
return require $pluginConfigCache;
}
if ($this->writePluginConfigCache($pluginConfigCache) === false) {
return $this->parsePluginConfigs();
} else {
return require $pluginConfigCache;
}
}