From 3b9690101b8211ddcc25d5ff205eab4b616a068e Mon Sep 17 00:00:00 2001 From: Christian Kerl Date: Wed, 28 Sep 2011 16:45:02 +0200 Subject: [PATCH] SoapServerBuilder now uses constants from SoapCommon\Cache --- src/BeSimple/SoapServer/SoapServerBuilder.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/BeSimple/SoapServer/SoapServerBuilder.php b/src/BeSimple/SoapServer/SoapServerBuilder.php index b67812b..61b51cf 100644 --- a/src/BeSimple/SoapServer/SoapServerBuilder.php +++ b/src/BeSimple/SoapServer/SoapServerBuilder.php @@ -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; }