Skip to content

Commit

Permalink
adds a small convenience method
Browse files Browse the repository at this point in the history
  • Loading branch information
schmittjoh committed Jul 18, 2011
1 parent 827bfb9 commit f6c5ef7
Showing 1 changed file with 9 additions and 0 deletions.
Expand Up @@ -2,6 +2,8 @@

namespace Symfony\Component\HttpKernel\DependencyInjection;

use Symfony\Component\Config\Definition\Processor;
use Symfony\Component\Config\Definition\ConfigurationInterface;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Container;
Expand Down Expand Up @@ -92,4 +94,11 @@ public function getAlias()

return Container::underscore($classBaseName);
}

protected final function processConfiguration(ConfigurationInterface $configuration, array $configs)
{
$processor = new Processor();

return $processor->processConfiguration($configuration, $configs);
}
}

0 comments on commit f6c5ef7

Please sign in to comment.