Moved stylesheet option in WsdlDumper service and add the possibility to configure

This commit is contained in:
Francis Besset
2011-08-14 21:59:03 +02:00
parent 33165ce8d2
commit 0e177bd067
6 changed files with 39 additions and 12 deletions

View File

@ -43,6 +43,8 @@ class BeSimpleSoapExtension extends Extension
$config = $processor->process($configuration->getConfigTree(), $configs);
$container->setParameter('besimple.soap.definition.dumper.options.stylesheet', $config['wsdl_dumper']['stylesheet']);
foreach($config['services'] as $name => $serviceConfig) {
$serviceConfig['name'] = $name;
$this->createWebServiceContext($serviceConfig, $container);