debug change directory

This commit is contained in:
Cyprian Beauvois 2019-02-21 15:38:02 +01:00
parent 15496efe23
commit 108f834131
2 changed files with 2 additions and 11 deletions

View File

@ -22,20 +22,11 @@ class StorageExtension extends Extension
{
$loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Ressources/config'));
$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);
$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->setArgument(0, $config);

View File

@ -23,7 +23,7 @@ class Storage
public function __construct(array $user_config = [])
{
dump($user_config); die;
// dump($user_config); die;
$this->config_storage = $user_config;
}