Bluz\Cache\Adapter\Predis::getHandler PHP Method

getHandler() public method

Get Redis handler
public getHandler ( ) : Redis
return Redis
    public function getHandler()
    {
        if (!$this->handler) {
            $this->handler = new Client($this->settings, $this->settings['options']);
        }
        return $this->handler;
    }