[SoapBundle] Fixed Configuration.php

This commit is contained in:
Francis Besset 2013-07-22 11:52:32 +02:00
parent 2e99bb7e17
commit e4a9b70fb3
1 changed files with 42 additions and 44 deletions

View File

@ -62,6 +62,7 @@ class Configuration
->end()
->end()
->end()
->end()
;
}
@ -82,8 +83,9 @@ class Configuration
->end()
->end()
->arrayNode('classmap')
->useAttributeAsKey('name')
->prototype('scalar')
->useAttributeAsKey('name')->prototype('scalar')->end()
->end()
->end()
->end()
->end()
->end()
@ -99,15 +101,9 @@ class Configuration
->useAttributeAsKey('name')
->prototype('array')
->children()
->scalarNode('namespace')
->isRequired()
->end()
->scalarNode('resource')
->defaultValue('*')
->end()
->scalarNode('resource_type')
->defaultValue('annotation')
->end()
->scalarNode('namespace')->isRequired()->end()
->scalarNode('resource')->defaultValue('*')->end()
->scalarNode('resource_type')->defaultValue('annotation')->end()
->scalarNode('binding')
->defaultValue('document-wrapped')
->validate()
@ -124,6 +120,7 @@ class Configuration
->end()
->end()
->end()
->end()
;
}
@ -134,7 +131,8 @@ class Configuration
->arrayNode('wsdl_dumper')
->addDefaultsIfNotSet()
->children()
->scalarNode('stylesheet')->defaultNull()
->scalarNode('stylesheet')->defaultNull()->end()
->end()
->end()
->end()
->end()