PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Redis
/
Connections
<?php namespace Illuminate\Redis\Connections; class PhpRedisClusterConnection extends PhpRedisConnection { /** * Flush the selected Redis database on all master nodes. * * @return mixed */ public function flushdb() { $arguments = func_get_args(); $async = strtoupper((string) ($arguments[0] ?? null)) === 'ASYNC'; foreach ($this->client->_masters() as $master) { $async ? $this->command('rawCommand', [$master, 'flushdb', 'async']) : $this->command('flushdb', [$master]); } } }
[-] PhpRedisConnection.php
[edit]
[+]
..
[-] PredisConnection.php
[edit]
[-] PhpRedisClusterConnection.php
[edit]
[-] Connection.php
[edit]
[-] PacksPhpRedisValues.php
[edit]
[-] PredisClusterConnection.php
[edit]