Resque\Redis::__call PHP Method

__call() public method

Dynamically pass calls to the Predis.
public __call ( string $method, array $parameters ) : mixed
$method string Method to call
$parameters array Arguments to send to method
return mixed
    public function __call($method, $parameters)
    {
        if (in_array($method, $this->keyCommands)) {
            $parameters[0] = $this->addNamespace($parameters[0]);
        }
        // try {
        return call_user_func_array(array($this->redis, $method), $parameters);
        // } catch (\Exception $e) {
        // 	return false;
        // }
    }