EnvironmentCheckInterface
interface EnvironmentCheckInterface
Interface for environment/requirement checks.
Environment checks verify system requirements (PHP extensions, Redis version, etc.) and run BEFORE the full DoctorContext is created. They fail fast if requirements aren't met, preventing functional checks from running.
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 21
string
name()
Get the human-readable name of this check.
at line 26
CheckResult
run()
Run the check and return results.
at line 32
string|null
getFixInstructions()
Get details about how to fix a failed check.
Returns null if no specific fix instructions are needed.