debug change directory
This commit is contained in:
parent
7517d07d30
commit
6cb300f795
|
@ -20,12 +20,12 @@ 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');
|
||||||
$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');
|
||||||
$configuration = $this->getConfiguration($configs, $container);
|
$configuration = $this->getConfiguration($configs, $container);
|
||||||
$config = $this->processConfiguration($configuration, $configs);
|
$config = $this->processConfiguration($configuration, $configs);
|
||||||
|
|
||||||
dump($sLoader, $container, $configuration, $config); 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);
|
||||||
|
@ -35,6 +35,7 @@ class StorageExtension extends Extension
|
||||||
|
|
||||||
public function getAlias()
|
public function getAlias()
|
||||||
{
|
{
|
||||||
|
dump(parent::getAlias()); die;
|
||||||
return parent::getAlias(); // TODO: Change the autogenerated stub
|
return parent::getAlias(); // TODO: Change the autogenerated stub
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue