public function RedisMock::flushAll in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/Profiler/Mock/RedisMock.php \Symfony\Component\HttpKernel\Tests\Profiler\Mock\RedisMock::flushAll()
Flush all existing items from all databases at the server.
Return value
bool
File
- vendor/
symfony/ http-kernel/ Tests/ Profiler/ Mock/ RedisMock.php, line 196
Class
- RedisMock
- RedisMock for simulating Redis extension in tests.
Namespace
Symfony\Component\HttpKernel\Tests\Profiler\MockCode
public function flushAll() {
if (!$this->connected) {
return false;
}
$this->storage = array();
return true;
}