You are here

private function MemcachedMock::storeData in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-kernel/Tests/Profiler/Mock/MemcachedMock.php \Symfony\Component\HttpKernel\Tests\Profiler\Mock\MemcachedMock::storeData()
4 calls to MemcachedMock::storeData()
MemcachedMock::add in vendor/symfony/http-kernel/Tests/Profiler/Mock/MemcachedMock.php
Add an item to the server only if such key doesn't exist at the server yet.
MemcachedMock::append in vendor/symfony/http-kernel/Tests/Profiler/Mock/MemcachedMock.php
Append data to an existing item.
MemcachedMock::replace in vendor/symfony/http-kernel/Tests/Profiler/Mock/MemcachedMock.php
Replace value of the existing item.
MemcachedMock::set in vendor/symfony/http-kernel/Tests/Profiler/Mock/MemcachedMock.php
Store data at the server.

File

vendor/symfony/http-kernel/Tests/Profiler/Mock/MemcachedMock.php, line 213

Class

MemcachedMock
MemcachedMock for simulating Memcached extension in tests.

Namespace

Symfony\Component\HttpKernel\Tests\Profiler\Mock

Code

private function storeData($key, $value) {
  $this->storage[$key] = serialize($value);
  return true;
}