From 85e147c8e811dd91fa35a14e34e090e5e68eaa81 Mon Sep 17 00:00:00 2001 From: cbeauvoi Date: Thu, 21 Feb 2019 13:00:02 +0100 Subject: [PATCH] debug change directory --- StorageBundle/DependencyInjection/Configuration.php | 2 +- StorageBundle/Ressources/config/services.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/StorageBundle/DependencyInjection/Configuration.php b/StorageBundle/DependencyInjection/Configuration.php index 4af0cff..fc0681a 100644 --- a/StorageBundle/DependencyInjection/Configuration.php +++ b/StorageBundle/DependencyInjection/Configuration.php @@ -15,7 +15,7 @@ class Configuration implements ConfigurationInterface */ public function getConfigTreeBuilder() { - $treeBuilder = new TreeBuilder('bluesquare/storage'); + $treeBuilder = new TreeBuilder('storage'); $root = $treeBuilder->root('storage'); $root->useAttributeAsKey('storage_name') ->prototype('array') diff --git a/StorageBundle/Ressources/config/services.yaml b/StorageBundle/Ressources/config/services.yaml index 61a4dec..532044d 100644 --- a/StorageBundle/Ressources/config/services.yaml +++ b/StorageBundle/Ressources/config/services.yaml @@ -1,3 +1,6 @@ +imports: + - { ressource: 'config/packages/bluesquare/storage.yaml'} + services: bluesquare.storage: class: Bluesquare\StorageBundle\Storage