From 9a42b07946d7e12de1b1fa847f7fc9463b548fb8 Mon Sep 17 00:00:00 2001 From: cbeauvoi Date: Thu, 21 Feb 2019 15:07:24 +0100 Subject: [PATCH] debug change directory --- StorageBundle/DependencyInjection/StorageExtension.php | 2 +- StorageBundle/StorageBundle.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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()