public function MemcachedMock::get in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/Profiler/Mock/MemcachedMock.php \Symfony\Component\HttpKernel\Tests\Profiler\Mock\MemcachedMock::get()
Retrieve item from the server.
Parameters
string $key:
callable $cache_cb:
float $cas_token:
Return value
bool
File
- vendor/
symfony/ http-kernel/ Tests/ Profiler/ Mock/ MemcachedMock.php, line 134
Class
- MemcachedMock
- MemcachedMock for simulating Memcached extension in tests.
Namespace
Symfony\Component\HttpKernel\Tests\Profiler\MockCode
public function get($key, $cache_cb = null, &$cas_token = null) {
if (!$this->connected) {
return false;
}
return $this
->getData($key);
}