public function Redis_AbstractBackend::__construct in Redis 7.3
Same name and namespace in other branches
- 7.2 lib/Redis/AbstractBackend.php \Redis_AbstractBackend::__construct()
Default constructor
Parameters
mixed $client: Redis client
string $namespace: Component namespace
string $prefix: Component prefix
1 call to Redis_AbstractBackend::__construct()
- Redis_Queue_Base::__construct in lib/
Redis/ Queue/ Base.php - Default contructor
1 method overrides Redis_AbstractBackend::__construct()
- Redis_Queue_Base::__construct in lib/
Redis/ Queue/ Base.php - Default contructor
File
- lib/
Redis/ AbstractBackend.php, line 35
Class
Code
public function __construct($client, $namespace = null, $prefix = null) {
$this->client = $client;
$this->prefix = $prefix;
if (null !== $namespace) {
$this->namespace = $namespace;
}
}