RedisVersionCheck
final class RedisVersionCheck implements EnvironmentCheckInterface
Checks that Redis/Valkey version meets requirements.
For any mode: Requires Redis 8.0+ or Valkey 9.0+ for hash-field expiration commands including HSETEX and HEXPIRE. For all mode: Any version is acceptable (just verifies connection).
Constants
| private REDIS_REQUIRED_VERSION |
|
| private VALKEY_REQUIRED_VERSION |
|
Methods
string
name()
Get the human-readable name of this check.
run()
Run the check and return results.
string|null
getFixInstructions()
Get details about how to fix a failed check.
Details
at line 33
__construct(RedisConnection $redis, string $taggingMode)
Create a new Redis version check instance.
at line 42
string
name()
Get the human-readable name of this check.
at line 50
CheckResult
run()
Run the check and return results.
at line 97
string|null
getFixInstructions()
Get details about how to fix a failed check.