diff --git a/StorageBundle/DependencyInjection/StorageExtension.php b/StorageBundle/DependencyInjection/StorageExtension.php index 16cfe5c..34f4e47 100644 --- a/StorageBundle/DependencyInjection/StorageExtension.php +++ b/StorageBundle/DependencyInjection/StorageExtension.php @@ -24,7 +24,7 @@ class StorageExtension extends Extension $loader->load('services.yaml'); // $sLoader = new YamlFileLoader($container, new FileLocator('/config/packages/bluesquare')); // $sLoader->load('storage.yaml'); - dump($container->get('kernel')->getProjectDir()); die; +// dump($container->get('kernel')->getProjectDir()); die; $configuration = $this->getConfiguration($configs, $container); $config = $this->processConfiguration($configuration, $configs); diff --git a/StorageBundle/StorageBundle.php b/StorageBundle/StorageBundle.php index 033f356..36ef61c 100644 --- a/StorageBundle/StorageBundle.php +++ b/StorageBundle/StorageBundle.php @@ -11,6 +11,8 @@ class StorageBundle extends Bundle public function build(ContainerBuilder $container) { parent::build($container); + + $container->registerExtension(new StorageExtension()); } public function getContainerExtension()