SoapServerBuilder now uses constants from SoapCommon\Cache

This commit is contained in:
Christian Kerl 2011-09-28 16:45:02 +02:00
parent 07ff198822
commit 3b9690101b

View File

@ -161,21 +161,21 @@ class SoapServerBuilder
public function withWsdlDiskCache()
{
$this->options['cache_wsdl'] = WSDL_CACHE_DISK;
$this->options['cache_wsdl'] = Cache::TYPE_DISK;
return $this;
}
public function withWsdlMemoryCache()
{
$this->options['cache_wsdl'] = WSDL_CACHE_MEMORY;
$this->options['cache_wsdl'] = Cache::TYPE_MEMORY;
return $this;
}
public function withWsdlDiskAndMemoryCache()
{
$this->options['cache_wsdl'] = WSDL_CACHE_BOTH;
$this->options['cache_wsdl'] = Cache::TYPE_DISK_MEMORY;
return $this;
}