Merge pull request #41 from gavD/master
Bugfix: Acl Aware S3 factory could not set options
This commit is contained in:
commit
013f50495b
|
@ -14,7 +14,7 @@ class AclAwareAmazonS3AdapterFactory implements AdapterFactoryInterface
|
|||
*/
|
||||
public function create(ContainerBuilder $container, $id, array $config)
|
||||
{
|
||||
$container
|
||||
$definition = $container
|
||||
->setDefinition($id.'.delegate', new DefinitionDecorator('knp_gaufrette.adapter.amazon_s3'))
|
||||
->addArgument(new Reference($config['amazon_s3_id']))
|
||||
->addArgument($config['bucket_name'])
|
||||
|
|
Loading…
Reference in New Issue
Block a user