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