protected function MemcacheProfilerStorage::setValue

Store an item on the memcache server under the specified key

Parameters

string $key:

mixed $value:

int $expiration:

Return value

boolean

Overrides BaseMemcacheProfilerStorage::setValue

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Profiler/MemcacheProfilerStorage.php, line 74

Class

MemcacheProfilerStorage
Memcache Profiler Storage

Namespace

Symfony\Component\HttpKernel\Profiler

Code

protected function setValue($key, $value, $expiration = 0) {
  return $this
    ->getMemcache()
    ->set($key, $value, false, time() + $expiration);
}