You are here

public function MemcacheConnection::getMemcache in Memcache API and Integration 8.2

Returns the internal memcache object.

Return value

object e.g. \Memcache|\Memcached

Overrides MemcacheConnectionInterface::getMemcache

File

src/Connection/MemcacheConnection.php, line 46

Class

MemcacheConnection
Class MemcacheConnection.

Namespace

Drupal\memcache\Connection

Code

public function getMemcache() {
  return $this->memcache;
}