\FacadeRedisWorker

Summary

Methods
Properties
Constants
getInstance()
setInstance()
__callStatic()
addClient()
getClient()
$instance
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

Methods

getInstance()

getInstance() : \Worker\Built\RedisWorker|\Core\Std\WorkerInterface

Returns

\Worker\Built\RedisWorker|\Core\Std\WorkerInterface —

setInstance()

setInstance(mixed  $worker) : \Worker\Built\RedisWorker|\Core\Std\WorkerInterface

Parameters

mixed $worker

Returns

\Worker\Built\RedisWorker|\Core\Std\WorkerInterface —

__callStatic()

__callStatic(string  $name, array  $arguments) : mixed

Parameters

string $name
array $arguments

Returns

mixed —

addClient()

addClient(array  $config, string|null  $name = 'default') : void

Parameters

array $config
string|null $name = 'default'

getClient()

getClient(string  $name = 'default') : \Redis|null

Parameters

string $name = 'default'

Returns

\Redis|null —