debug change directory
This commit is contained in:
parent
b5cef5f5a3
commit
7517d07d30
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue