izzum\statemachine\persistence\Redis::__call PHP Method

__call() public method

calls methods on a https://github.com/phpredis/phpredis instance. some method calls will only accept an array as the second argument (like hmset) This makes it useful to test the redis commands or just use this class as an interface to redis.
public __call ( string $name, mixed $arguments ) : mixed
$name string name of the method to route to the active redis connection
$arguments mixed
return mixed
    public function __call($name, $arguments)
    {
        //call the method with $name on the \Redis instance
        return call_user_func_array(array($this->getRedis(), $name), $arguments);
    }