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