From 26a079b6be434a1fa000d76cc441726e74cfb3d1 Mon Sep 17 00:00:00 2001 From: cbeauvoi Date: Thu, 21 Feb 2019 15:13:08 +0100 Subject: [PATCH] debug change directory --- StorageBundle/DependencyInjection/StorageExtension.php | 5 +++-- StorageBundle/Ressources/config/services.yaml | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/StorageBundle/DependencyInjection/StorageExtension.php b/StorageBundle/DependencyInjection/StorageExtension.php index b4636c2..dfcc69d 100644 --- a/StorageBundle/DependencyInjection/StorageExtension.php +++ b/StorageBundle/DependencyInjection/StorageExtension.php @@ -22,6 +22,7 @@ class StorageExtension extends Extension { $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Ressources/config')); $loader->load('services.yaml'); + dump($configs); die; // $sLoader = new YamlFileLoader($container, new FileLocator('/config/packages/bluesquare')); // $sLoader->load('storage.yaml'); // dump($container->get('kernel')->getProjectDir()); die; @@ -42,7 +43,7 @@ class StorageExtension extends Extension public function getAlias() { - return ('bluesquare\\storage'); -// return parent::getAlias(); // TODO: Change the autogenerated stub +// return ('bluesquare\\storage'); + return parent::getAlias(); // TODO: Change the autogenerated stub } } diff --git a/StorageBundle/Ressources/config/services.yaml b/StorageBundle/Ressources/config/services.yaml index 61a4dec..e71ec70 100644 --- a/StorageBundle/Ressources/config/services.yaml +++ b/StorageBundle/Ressources/config/services.yaml @@ -5,3 +5,6 @@ services: public: true arguments: ['user_storage'] Bluesquare\StorageBundle\Storage: '@bluesquare.storage' + +imports: + - { ressource: '%kernet.root_dir%/config/packages/bluesquare/storage.yaml' }