Updated SoapClient definition
This commit is contained in:
parent
ec3866d5d1
commit
94a8a8fec1
@ -89,12 +89,12 @@ class BeSimpleSoapExtension extends Extension
|
||||
|
||||
$defOptions = $container
|
||||
->getDefinition('besimple.soap.client')
|
||||
->getArgument(2);
|
||||
->getArgument(1);
|
||||
|
||||
$defOptions['cache_type'] = $options['cache_type'];
|
||||
$defOptions['namespace'] = $options['namespace'];
|
||||
|
||||
$definition->replaceArgument(2, $defOptions);
|
||||
$definition->replaceArgument(1, $defOptions);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -10,12 +10,12 @@
|
||||
<services>
|
||||
<service id="besimple.soap.client" class="%besimple.soap.client.class%" abstract="true">
|
||||
<argument /> <!-- wsdl URI -->
|
||||
<argument type="service" id="besimple.soap.converter.collection" />
|
||||
<argument type="collection">
|
||||
<argument key="debug">%kernel.debug%</argument>
|
||||
<argument key="cache_type">null</argument>
|
||||
<argument key="namespace">null</argument>
|
||||
</argument>
|
||||
<argument type="service" id="besimple.soap.converter.collection" />
|
||||
<argument type="service" id="besimple.soap.cache" />
|
||||
</service>
|
||||
</services>
|
||||
|
Loading…
Reference in New Issue
Block a user