malkusch\lock\mutex\RedisMutex::evalScript PHP Method

evalScript() abstract protected method

abstract protected evalScript ( mixed $redisAPI, string $script, integer $numkeys, array $arguments ) : mixed
$redisAPI mixed The connected Redis API.
$script string The Lua script.
$numkeys integer The number of arguments that represent Redis key names.
$arguments array Keys and values.
return mixed The script result, or false if executing failed.
    protected abstract function evalScript($redisAPI, $script, $numkeys, array $arguments);