vendor/bundles/Sensio/Bundle/DistributionBundle/DependencyInjection/SensioDistributionExtension.php
changeset 0 7f95f8617b0b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vendor/bundles/Sensio/Bundle/DistributionBundle/DependencyInjection/SensioDistributionExtension.php	Sat Sep 24 15:40:41 2011 +0200
@@ -0,0 +1,33 @@
+<?php
+
+namespace Sensio\Bundle\DistributionBundle\DependencyInjection;
+
+use Symfony\Component\DependencyInjection\ContainerBuilder;
+use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
+use Symfony\Component\HttpKernel\DependencyInjection\Extension;
+use Symfony\Component\Config\FileLocator;
+
+/**
+ * SensioDistributionExtension.
+ *
+ * @author Marc Weistroff <marc.weistroff@sensio.com>
+ */
+class SensioDistributionExtension extends Extension
+{
+    public function load(array $configs, ContainerBuilder $container)
+    {
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
+
+        $loader->load('webconfigurator.xml');
+    }
+
+    public function getNamespace()
+    {
+        return 'http://symfony.com/schema/dic/symfony/sensiodistribution';
+    }
+
+    public function getAlias()
+    {
+        return 'sensio_distribution';
+    }
+}