Lock
in package
https://symfony.com/doc/current/components/lock.html global $redis_lock; $redis_lock = [ 'host'=>'', 'port'=>'', 'auth'=>'', ];
Table of Contents
Properties
Methods
Properties
$factory
public
static mixed
$factory
$key
public
static mixed
$key
$lock
public
static mixed
$lock
Methods
do()
public
static do(mixed $key, mixed $call[, mixed $time = 10 ]) : mixed
Parameters
- $key : mixed
- $call : mixed
- $time : mixed = 10
end()
public
static end() : mixed
init()
public
static init() : mixed
start()
public
static start(mixed $key[, mixed $time = 10 ]) : mixed
Parameters
- $key : mixed
- $time : mixed = 10