Renamed __toString() to getName()

This commit is contained in:
Philipp Holzer
2019-08-04 16:13:53 +02:00
parent d2211bd6dd
commit 3834d5e129
10 changed files with 37 additions and 16 deletions

View File

@@ -148,7 +148,10 @@ class MemcacheCache extends Cache implements IMemoryCache
return $this->memcache->add($cachekey, serialize($value), MEMCACHE_COMPRESSED, $ttl);
}
public function __toString()
/**
* {@inheritDoc}
*/
public function getName()
{
return self::TYPE_MEMCACHE;
}