Added namespace option in client definition
This commit is contained in:
parent
4e33819eca
commit
294058a59c
|
@ -92,6 +92,8 @@ class BeSimpleSoapExtension extends Extension
|
|||
->getArgument(1);
|
||||
|
||||
$defOptions['cache_type'] = $options['cache_type'];
|
||||
$defOptions['namespace'] = $options['namespace'];
|
||||
|
||||
$definition->replaceArgument(1, $defOptions);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -73,9 +73,8 @@ class Configuration
|
|||
->useAttributeAsKey('name')
|
||||
->prototype('array')
|
||||
->children()
|
||||
->scalarNode('wsdl')
|
||||
->isRequired()
|
||||
->end()
|
||||
->scalarNode('wsdl')->isRequired()->end()
|
||||
->scalarNode('namespace')->defaultNull()->end()
|
||||
->scalarNode('cache_type')
|
||||
->validate()
|
||||
->ifNotInArray($this->cacheTypes)
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
<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.cache" />
|
||||
</service>
|
||||
|
|
Loading…
Reference in New Issue