Added cache_type option for soap server definition

This commit is contained in:
Francis Besset
2011-09-04 12:59:19 +02:00
parent b1da32bc97
commit 4e33819eca
5 changed files with 48 additions and 5 deletions

View File

@ -112,6 +112,12 @@ class Configuration
->thenInvalid("Service binding style has to be either 'rpc-literal' or 'document-wrapped'")
->end()
->end()
->scalarNode('cache_type')
->validate()
->ifNotInArray($this->cacheTypes)
->thenInvalid(sprintf('The cache type has to be either %s', implode(', ', $this->cacheTypes)))
->end()
->end()
->end()
->end()
->end()