Merge pull request #91 from bmeynell/master
added detect_content_type option for AwsS3 adapter
This commit is contained in:
commit
ce0e00c554
|
@ -20,6 +20,7 @@ class AwsS3AdapterFactory implements AdapterFactoryInterface
|
|||
->addArgument(new Reference($config['service_id']))
|
||||
->addArgument($config['bucket_name'])
|
||||
->addArgument($config['options'])
|
||||
->addArgument($config['detect_content_type'])
|
||||
;
|
||||
}
|
||||
|
||||
|
@ -40,6 +41,7 @@ class AwsS3AdapterFactory implements AdapterFactoryInterface
|
|||
->children()
|
||||
->scalarNode('service_id')->isRequired()->cannotBeEmpty()->end()
|
||||
->scalarNode('bucket_name')->isRequired()->cannotBeEmpty()->end()
|
||||
->booleanNode('detect_content_type')->defaultFalse()->end()
|
||||
->arrayNode('options')
|
||||
->addDefaultsIfNotSet()
|
||||
->children()
|
||||
|
|
Loading…
Reference in New Issue
Block a user