This commit is contained in:
Cyprian Beauvois 2019-02-20 12:08:40 +01:00
parent 46819f1cd0
commit d996520bf2
3 changed files with 2 additions and 3 deletions

View File

@ -22,8 +22,6 @@ class StorageExtension extends Extension
$configuration = $this->getConfiguration($configs, $container);
$config = $this->processConfiguration($configuration, $configs);
dump($config); die;
return $config;
}

View File

@ -15,7 +15,7 @@ class Storage
// TODO: on récupère les infos sur ce storage dans la config utilisateur (config/bluesquare/storage.yaml)
// La clef pour la configuration d'un storage devrait être : "storage.{storage_name}"
dump($storage_name); die;
// dump($this); die;
// Si storage.{storage_name}.type == 's3' alors :
// return new S3Storage($storage_name, $config); // $config c'est le contenu de storage.{storage_name} sous forme de tableau

View File

@ -11,6 +11,7 @@ class StorageBundle extends Bundle
public function build(ContainerBuilder $container)
{
parent::build($container);
dump($container); die;
}
public function getContainerExtension()