public function MemcacheConnectionInterface::getMemcache in Memcache API and Integration 8.2
Returns the internal memcache object.
Return value
object e.g. \Memcache|\Memcached
2 methods override MemcacheConnectionInterface::getMemcache()
- MemcacheConnection::getMemcache in src/
Connection/ MemcacheConnection.php - Returns the internal memcache object.
- MemcachedConnection::getMemcache in src/
Connection/ MemcachedConnection.php - Returns the internal memcache object.
File
- src/
Connection/ MemcacheConnectionInterface.php, line 26
Class
- MemcacheConnectionInterface
- Defines the Memcache connection interface.
Namespace
Drupal\memcache\ConnectionCode
public function getMemcache();