protected function MemcachedProfilerStorage::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/MemcachedProfilerStorage.php, line 79

Class

MemcachedProfilerStorage
Memcached Profiler Storage

Namespace

Symfony\Component\HttpKernel\Profiler

Code

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