PHPDaemon\Clients\Redis\Lock::__construct PHP Method

__construct() public method

Constructor
public __construct ( string $key, integer $timeout, Pool $pool )
$key string
$timeout integer
$pool Pool
    public function __construct($key, $timeout, $pool)
    {
        $this->pool = $pool;
        $this->timeout = $timeout;
        $this->key = $key;
    }