public function RedisMock::setOption in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/Profiler/Mock/RedisMock.php \Symfony\Component\HttpKernel\Tests\Profiler\Mock\RedisMock::setOption()
Set client option.
Parameters
int $name:
int $value:
Return value
bool
File
- vendor/
symfony/ http-kernel/ Tests/ Profiler/ Mock/ RedisMock.php, line 52
Class
- RedisMock
- RedisMock for simulating Redis extension in tests.
Namespace
Symfony\Component\HttpKernel\Tests\Profiler\MockCode
public function setOption($name, $value) {
if (!$this->connected) {
return false;
}
return true;
}