BlueScreen
class BlueScreen
Red BlueScreen.
Constants
| private MaxMessageLength |
|
Properties
| string[] | $info | ||
| string[] | $collapsePaths | ||
| $maxDepth | |||
| $maxLength | |||
| $maxItems | |||
| callable|null | $scrubber | ||
| string[] | $keysToHide | ||
| $showEnvironment |
Methods
No description
Add custom panel as function (?\Throwable $e): ?array
Add action.
Add new file generator.
No description
Renders blue screen to file (if file exists, it will not be overwritten).
Returns syntax highlighted source code.
Returns syntax highlighted source code.
Returns highlighted line in HTML code.
Should a file be collapsed in stack trace?
No description
Details
at line 56
__construct()
No description
at line 70
BlueScreen
addPanel(callable $panel)
Add custom panel as function (?\Throwable $e): ?array
at line 84
BlueScreen
addAction(callable $action)
Add action.
at line 96
BlueScreen
addFileGenerator(callable $generator)
Add new file generator.
at line 103
BlueScreen
addFiber(Fiber|Generator $fiber)
No description
at line 113
void
render(Throwable $exception)
Renders blue screen.
at line 124
void
renderToAjax(Throwable $exception, DeferredContent $defer)
| internal |
No description
at line 133
bool
renderToFile(Throwable $exception, string $file)
Renders blue screen to file (if file exists, it will not be overwritten).
at line 307
static string|null
highlightFile(string $file, int $line, int $lines = 15, bool $php = true, int $column = 0)
Returns syntax highlighted source code.
at line 335
static string
highlightPhp(string $source, int $line, int $lines = 15, int $column = 0)
Returns syntax highlighted source code.
at line 344
static string
highlightLine(string $html, int $line, int $lines = 15, int $column = 0)
Returns highlighted line in HTML code.
at line 354
bool
isCollapsed(string $file)
| internal |
Should a file be collapsed in stack trace?
at line 369
Closure
getDumper()
| internal |
No description
at line 383
string
formatMessage(Throwable $exception)
No description
at line 466
static string|null
generateNewPhpFileContents(string $file, string|null $class = null)
| internal |
No description