You are here

private function RedisMock::storeData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Tests/Profiler/Mock/RedisMock.php \Symfony\Component\HttpKernel\Tests\Profiler\Mock\RedisMock::storeData()
2 calls to RedisMock::storeData()
RedisMock::append in vendor/symfony/http-kernel/Tests/Profiler/Mock/RedisMock.php
Append data to an existing item.
RedisMock::setex in vendor/symfony/http-kernel/Tests/Profiler/Mock/RedisMock.php
Store data at the server with expiration time.

File

vendor/symfony/http-kernel/Tests/Profiler/Mock/RedisMock.php, line 228

Class

RedisMock
RedisMock for simulating Redis extension in tests.

Namespace

Symfony\Component\HttpKernel\Tests\Profiler\Mock

Code

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