class MemcacheMock

MemcacheMock for simulating Memcache extension in tests.

@author Andrej Hudec <pulzarraider@gmail.com>

Hierarchy

  • class \Symfony\Component\HttpKernel\Tests\Profiler\Mock\MemcacheMock

Expanded class hierarchy of MemcacheMock

1 file declares its use of MemcacheMock

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/Profiler/Mock/MemcacheMock.php, line 19

Namespace

Symfony\Component\HttpKernel\Tests\Profiler\Mock
View source

Members

Namesort descending Modifiers Type Description Overrides
MemcacheMock::$connected private property
MemcacheMock::$storage private property
MemcacheMock::add public function Add an item to the server only if such key doesn't exist at the server yet.
MemcacheMock::addServer public function Add a memcached server to connection pool
MemcacheMock::close public function Close memcached server connection
MemcacheMock::connect public function Open memcached server connection
MemcacheMock::delete public function Delete item from the server
MemcacheMock::flush public function Flush all existing items at the server
MemcacheMock::get public function Retrieve item from the server.
MemcacheMock::getData private function
MemcacheMock::pconnect public function Open memcached server persistent connection
MemcacheMock::replace public function Replace value of the existing item.
MemcacheMock::set public function Store data at the server.
MemcacheMock::storeData private function
MemcacheMock::__construct public function