debug change directory

This commit is contained in:
Cyprian Beauvois 2019-02-21 15:14:16 +01:00
parent 26a079b6be
commit b5cfbf3bf7
3 changed files with 5 additions and 4 deletions

View File

@ -22,7 +22,7 @@ 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');
dump($configs); die; $loader->load('import.yaml');
// $sLoader = new YamlFileLoader($container, new FileLocator('/config/packages/bluesquare')); // $sLoader = new YamlFileLoader($container, new FileLocator('/config/packages/bluesquare'));
// $sLoader->load('storage.yaml'); // $sLoader->load('storage.yaml');
// dump($container->get('kernel')->getProjectDir()); die; // dump($container->get('kernel')->getProjectDir()); die;
@ -30,6 +30,8 @@ class StorageExtension extends Extension
$config = $this->processConfiguration($configuration, $configs); $config = $this->processConfiguration($configuration, $configs);
dump($config); die;
// dump(new FileLocator('/config/packages/bluesquare')); die; // dump(new FileLocator('/config/packages/bluesquare')); die;
// dump($sLoader, $container, $configuration, $config); die; // dump($sLoader, $container, $configuration, $config); die;

View File

@ -0,0 +1,2 @@
imports:
- { ressource: '%kernet.root_dir%/config/packages/bluesquare/storage.yaml' }

View File

@ -5,6 +5,3 @@ services:
public: true public: true
arguments: ['user_storage'] arguments: ['user_storage']
Bluesquare\StorageBundle\Storage: '@bluesquare.storage' Bluesquare\StorageBundle\Storage: '@bluesquare.storage'
imports:
- { ressource: '%kernet.root_dir%/config/packages/bluesquare/storage.yaml' }