From 7517d07d306779ccaa4b64f0f4ab877904fafd59 Mon Sep 17 00:00:00 2001 From: cbeauvoi Date: Thu, 21 Feb 2019 13:19:36 +0100 Subject: [PATCH] debug change directory --- StorageBundle/DependencyInjection/StorageExtension.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/StorageBundle/DependencyInjection/StorageExtension.php b/StorageBundle/DependencyInjection/StorageExtension.php index 672e8de..7af35e0 100644 --- a/StorageBundle/DependencyInjection/StorageExtension.php +++ b/StorageBundle/DependencyInjection/StorageExtension.php @@ -20,11 +20,12 @@ class StorageExtension extends Extension { $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Ressources/config')); $loader->load('services.yaml'); + $sLoader = new YamlFileLoader($container, new FileLocator('/config/packages/bluesquare')); + $sLoader->load('storage.yaml'); $configuration = $this->getConfiguration($configs, $container); -// dump($config); die; $config = $this->processConfiguration($configuration, $configs); -// dump($config); die; + dump($sLoader, $container, $configuration, $config); die; $definition = $container->getDefinition('bluesquare.storage'); $definition->setArgument(0, $config);