You are here

public function Redis_AbstractBackend::__construct in Redis 7.2

Same name and namespace in other branches
  1. 7.3 lib/Redis/AbstractBackend.php \Redis_AbstractBackend::__construct()

Default constructor

1 call to Redis_AbstractBackend::__construct()
Redis_Cache_Base::__construct in lib/Redis/Cache/Base.php
Default constructor
2 methods override Redis_AbstractBackend::__construct()
Redis_Cache_Base::__construct in lib/Redis/Cache/Base.php
Default constructor
Redis_Queue_Base::__construct in lib/Redis/Queue/Base.php
Default contructor

File

lib/Redis/AbstractBackend.php, line 106

Class

Redis_AbstractBackend

Code

public function __construct($namespace = null) {
  $this->prefix = self::getDefaultPrefix($namespace);
}