You are here

private function MemcachedMock::getData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/Profiler/Mock/MemcachedMock.php \Symfony\Component\HttpKernel\Tests\Profiler\Mock\MemcachedMock::getData()
2 calls to MemcachedMock::getData()
MemcachedMock::append in vendor/symfony/http-kernel/Tests/Profiler/Mock/MemcachedMock.php
Append data to an existing item.
MemcachedMock::get in vendor/symfony/http-kernel/Tests/Profiler/Mock/MemcachedMock.php
Retrieve item from the server.

File

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

Class

MemcachedMock
MemcachedMock for simulating Memcached extension in tests.

Namespace

Symfony\Component\HttpKernel\Tests\Profiler\Mock

Code

private function getData($key) {
  if (isset($this->storage[$key])) {
    return unserialize($this->storage[$key]);
  }
  return false;
}