Added debug parameter at SoapServerFactory

If kernel.debug parameter is true, the cache is disabled.
This commit is contained in:
Francis Besset
2011-07-17 12:35:47 +02:00
parent 1c608ccf20
commit 887169de13
3 changed files with 17 additions and 15 deletions

View File

@ -95,7 +95,7 @@ class WebServiceContext
public function getServerFactory()
{
if (null === $this->serverFactory) {
$this->serverFactory = new SoapServerFactory($this->getServiceDefinition(), $this->getWsdlFile(), $this->converterRepository);
$this->serverFactory = new SoapServerFactory($this->getServiceDefinition(), $this->getWsdlFile(), $this->converterRepository, $this->options['debug']);
}
return $this->serverFactory;