debug change directory

This commit is contained in:
Cyprian Beauvois 2019-02-21 13:19:36 +01:00
parent b5cef5f5a3
commit 7517d07d30
1 changed files with 3 additions and 2 deletions

View File

@ -20,11 +20,12 @@ class StorageExtension extends Extension
{ {
$loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Ressources/config')); $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Ressources/config'));
$loader->load('services.yaml'); $loader->load('services.yaml');
$sLoader = new YamlFileLoader($container, new FileLocator('/config/packages/bluesquare'));
$sLoader->load('storage.yaml');
$configuration = $this->getConfiguration($configs, $container); $configuration = $this->getConfiguration($configs, $container);
// dump($config); die;
$config = $this->processConfiguration($configuration, $configs); $config = $this->processConfiguration($configuration, $configs);
// dump($config); die; dump($sLoader, $container, $configuration, $config); die;
$definition = $container->getDefinition('bluesquare.storage'); $definition = $container->getDefinition('bluesquare.storage');
$definition->setArgument(0, $config); $definition->setArgument(0, $config);