debug change directory

This commit is contained in:
Cyprian Beauvois 2019-02-21 15:07:24 +01:00
parent e5f6593537
commit 9a42b07946
2 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class StorageExtension extends Extension
$loader->load('services.yaml');
// $sLoader = new YamlFileLoader($container, new FileLocator('/config/packages/bluesquare'));
// $sLoader->load('storage.yaml');
dump($container->get('kernel')->getProjectDir()); die;
// dump($container->get('kernel')->getProjectDir()); die;
$configuration = $this->getConfiguration($configs, $container);
$config = $this->processConfiguration($configuration, $configs);

View File

@ -11,6 +11,8 @@ class StorageBundle extends Bundle
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->registerExtension(new StorageExtension());
}
public function getContainerExtension()