debug change directory
This commit is contained in:
parent
15496efe23
commit
108f834131
|
@ -22,20 +22,11 @@ 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');
|
||||||
$loader->load('import.yaml');
|
|
||||||
// $sLoader = new YamlFileLoader($container, new FileLocator('/config/packages/bluesquare'));
|
|
||||||
// $sLoader->load('storage.yaml');
|
|
||||||
// dump($container->get('kernel')->getProjectDir()); die;
|
|
||||||
$configuration = $this->getConfiguration($configs, $container);
|
$configuration = $this->getConfiguration($configs, $container);
|
||||||
|
|
||||||
$config = $this->processConfiguration($configuration, $configs);
|
$config = $this->processConfiguration($configuration, $configs);
|
||||||
|
|
||||||
dump($config); die;
|
|
||||||
|
|
||||||
// dump(new FileLocator('/config/packages/bluesquare')); 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);
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ class Storage
|
||||||
|
|
||||||
public function __construct(array $user_config = [])
|
public function __construct(array $user_config = [])
|
||||||
{
|
{
|
||||||
dump($user_config); die;
|
// dump($user_config); die;
|
||||||
$this->config_storage = $user_config;
|
$this->config_storage = $user_config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue