public function getOrCreateConfig($bundleName)
{
$bundle = $this->getBundle($bundleName);
if ($bundle) {
$config = $this->getConfigs()->getConfig($bundle->getName());
if (!$config) {
return new Bundle($bundle, $this, null);
}
return $config;
}
return null;
}