protected function MemcacheProfilerStorage::setValue in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Profiler/MemcacheProfilerStorage.php \Symfony\Component\HttpKernel\Profiler\MemcacheProfilerStorage::setValue()
Store an item on the memcache server under the specified key.
Parameters
string $key:
mixed $value:
int $expiration:
Return value
bool
Overrides BaseMemcacheProfilerStorage::setValue
File
- vendor/
symfony/ http-kernel/ Profiler/ MemcacheProfilerStorage.php, line 73
Class
- MemcacheProfilerStorage
- Memcache Profiler Storage.
Namespace
Symfony\Component\HttpKernel\ProfilerCode
protected function setValue($key, $value, $expiration = 0) {
return $this
->getMemcache()
->set($key, $value, false, time() + $expiration);
}