added detect_content_type option for AwsS3 adapter

This commit is contained in:
Ben Meynell 2014-05-05 09:10:50 -04:00
parent ae598e6114
commit d1eb6f2550

View File

@ -20,6 +20,7 @@ class AwsS3AdapterFactory implements AdapterFactoryInterface
->addArgument(new Reference($config['service_id'])) ->addArgument(new Reference($config['service_id']))
->addArgument($config['bucket_name']) ->addArgument($config['bucket_name'])
->addArgument($config['options']) ->addArgument($config['options'])
->addArgument($config['detect_content_type'])
; ;
} }
@ -40,6 +41,7 @@ class AwsS3AdapterFactory implements AdapterFactoryInterface
->children() ->children()
->scalarNode('service_id')->isRequired()->cannotBeEmpty()->end() ->scalarNode('service_id')->isRequired()->cannotBeEmpty()->end()
->scalarNode('bucket_name')->isRequired()->cannotBeEmpty()->end() ->scalarNode('bucket_name')->isRequired()->cannotBeEmpty()->end()
->booleanNode('detect_content_type')->defaultFalse()->end()
->arrayNode('options') ->arrayNode('options')
->addDefaultsIfNotSet() ->addDefaultsIfNotSet()
->children() ->children()