summaryrefslogtreecommitdiff
path: root/vendor/symfony/cache/Simple/MemcachedCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/cache/Simple/MemcachedCache.php')
-rw-r--r--vendor/symfony/cache/Simple/MemcachedCache.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/vendor/symfony/cache/Simple/MemcachedCache.php b/vendor/symfony/cache/Simple/MemcachedCache.php
index 8e418b071e..e1934119aa 100644
--- a/vendor/symfony/cache/Simple/MemcachedCache.php
+++ b/vendor/symfony/cache/Simple/MemcachedCache.php
@@ -11,9 +11,16 @@
namespace Symfony\Component\Cache\Simple;
+use Symfony\Component\Cache\Adapter\MemcachedAdapter;
use Symfony\Component\Cache\Marshaller\MarshallerInterface;
use Symfony\Component\Cache\Traits\MemcachedTrait;
+use Symfony\Contracts\Cache\CacheInterface;
+@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.3, use "%s" and type-hint for "%s" instead.', MemcachedCache::class, MemcachedAdapter::class, CacheInterface::class), E_USER_DEPRECATED);
+
+/**
+ * @deprecated since Symfony 4.3, use MemcachedAdapter and type-hint for CacheInterface instead.
+ */
class MemcachedCache extends AbstractCache
{
use MemcachedTrait;