Added cache_type option for soap server definition

This commit is contained in:
Francis Besset
2011-09-04 12:59:19 +02:00
parent b1da32bc97
commit 4e33819eca
5 changed files with 48 additions and 5 deletions

View File

@ -106,6 +106,10 @@ class BeSimpleSoapExtension extends Extension
$definition = new DefinitionDecorator('besimple.soap.context.'.$bindingSuffix);
$context = $container->setDefinition($contextId, $definition);
if (isset($config['cache_type'])) {
$config['cache_type'] = $this->getCacheType($config['cache_type']);
}
$options = $container
->getDefinition('besimple.soap.context.'.$bindingSuffix)
->getArgument(4);