From 47d67d286bd90ea99d7bada468f1f62dca51a5ea Mon Sep 17 00:00:00 2001 From: Ambroise Maupate Date: Fri, 4 May 2018 21:41:46 +0200 Subject: [PATCH] Support APCu cache implementation. --- lib/PHPPdf/Cache/CacheImpl.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/PHPPdf/Cache/CacheImpl.php b/lib/PHPPdf/Cache/CacheImpl.php index a85571b0..4ed4d68f 100644 --- a/lib/PHPPdf/Cache/CacheImpl.php +++ b/lib/PHPPdf/Cache/CacheImpl.php @@ -21,6 +21,7 @@ class CacheImpl implements Cache { const ENGINE_FILE = 'File'; const ENGINE_APC = 'Apc'; + const ENGINE_APCU = 'Apcu'; const ENGINE_MEMCACHED = 'Memcached'; const ENGINE_FILESYSTEM = 'Filesystem'; @@ -150,4 +151,4 @@ public function remove($id) $this->wrapLowLevelException($e, __METHOD__); } } -} \ No newline at end of file +}