BlueScreen
class BlueScreen
Red BlueScreen.
Constants
private MaxMessageLength |
|
Properties
string[] | $info | ||
string[] | $collapsePaths | ||
int | $maxDepth | ||
int | $maxLength | ||
int | $maxItems | ||
callable|null | $scrubber | ||
string[] | $keysToHide | ||
bool | $showEnvironment |
Methods
No description
Add custom panel as function (?\Throwable $e): ?array
Add action.
Add new file generator.
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.
Returns syntax highlighted source code to Terminal.
Should a file be collapsed in stack trace?
No description
Details
at line 63
__construct()
No description
at line 77
BlueScreen
addPanel(callable $panel)
Add custom panel as function (?\Throwable $e): ?array
at line 91
BlueScreen
addAction(callable $action)
Add action.
at line 103
BlueScreen
addFileGenerator(callable $generator)
Add new file generator.
at line 114
BlueScreen
addFiber(Fiber|Generator $fiber)
No description
at line 124
void
render(Throwable $exception)
Renders blue screen.
at line 135
void
renderToAjax(Throwable $exception, DeferredContent $defer)
internal |
No description
at line 146
bool
renderToFile(Throwable $exception, string $file)
Renders blue screen to file (if file exists, it will not be overwritten).
at line 317
static string|null
highlightFile(string $file, int $line, int $lines = 15, bool $php = true, int $column = 0)
Returns syntax highlighted source code.
at line 345
static string
highlightPhp(string $source, int $line, int $lines = 15, int $column = 0)
Returns syntax highlighted source code.
at line 369
static string
highlightLine(string $html, int $line, int $lines = 15, int $column = 0)
Returns highlighted line in HTML code.
at line 423
static string|null
highlightPhpCli(string $file, int $line, int $lines = 15, int $column = 0)
Returns syntax highlighted source code to Terminal.
at line 465
bool
isCollapsed(string $file)
internal |
Should a file be collapsed in stack trace?
at line 480
Closure
getDumper()
internal |
No description
at line 496
string
formatMessage(Throwable $exception)
No description
at line 581
static string|null
generateNewPhpFileContents(string $file, string|null $class = null)
internal |
No description