debug change directory
This commit is contained in:
parent
6e23d8cf15
commit
26a079b6be
|
@ -22,6 +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;
|
||||||
// $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;
|
||||||
|
@ -42,7 +43,7 @@ class StorageExtension extends Extension
|
||||||
|
|
||||||
public function getAlias()
|
public function getAlias()
|
||||||
{
|
{
|
||||||
return ('bluesquare\\storage');
|
// return ('bluesquare\\storage');
|
||||||
// return parent::getAlias(); // TODO: Change the autogenerated stub
|
return parent::getAlias(); // TODO: Change the autogenerated stub
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,3 +5,6 @@ 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' }
|
||||||
|
|
Loading…
Reference in New Issue