SoapServerBuilder now uses constants from SoapCommon\Cache
This commit is contained in:
parent
07ff198822
commit
3b9690101b
|
@ -161,21 +161,21 @@ class SoapServerBuilder
|
||||||
|
|
||||||
public function withWsdlDiskCache()
|
public function withWsdlDiskCache()
|
||||||
{
|
{
|
||||||
$this->options['cache_wsdl'] = WSDL_CACHE_DISK;
|
$this->options['cache_wsdl'] = Cache::TYPE_DISK;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function withWsdlMemoryCache()
|
public function withWsdlMemoryCache()
|
||||||
{
|
{
|
||||||
$this->options['cache_wsdl'] = WSDL_CACHE_MEMORY;
|
$this->options['cache_wsdl'] = Cache::TYPE_MEMORY;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function withWsdlDiskAndMemoryCache()
|
public function withWsdlDiskAndMemoryCache()
|
||||||
{
|
{
|
||||||
$this->options['cache_wsdl'] = WSDL_CACHE_BOTH;
|
$this->options['cache_wsdl'] = Cache::TYPE_DISK_MEMORY;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue