Updated besimple.soap.client service

This commit is contained in:
Francis Besset 2011-09-10 19:39:14 +02:00
parent 294058a59c
commit ecc3ec3c93
2 changed files with 3 additions and 2 deletions

View File

@ -89,12 +89,12 @@ class BeSimpleSoapExtension extends Extension
$defOptions = $container
->getDefinition('besimple.soap.client')
->getArgument(1);
->getArgument(2);
$defOptions['cache_type'] = $options['cache_type'];
$defOptions['namespace'] = $options['namespace'];
$definition->replaceArgument(1, $defOptions);
$definition->replaceArgument(2, $defOptions);
}
}
}

View File

@ -10,6 +10,7 @@
<services>
<service id="besimple.soap.client" class="%besimple.soap.client.class%" abstract="true">
<argument>wsdl</argument>
<argument>null</argument>
<argument type="collection">
<argument key="debug">%kernel.debug%</argument>
<argument key="cache_type">null</argument>