A HelpDiagnosticReporter receives informational messages, warnings, and errors discovered during help compilation.
Implementations define how diagnostics are handled:
The compiler must never write to the console or throw directly; all diagnostics flow through this reporter.
| Methods | ||
|---|---|---|
public
|
info(string $message): void
|
# |
public
|
warn(string $message): void
|
# |
public
|
error(string $message): void
|
# |
public
|
hasErrors(): bool
|
# |
public
|
all(): array<int, array{level: string, message: string}>
|
# |