BlueScreen
class BlueScreen
Red BlueScreen.
Constants
private MAX_MESSAGE_LENGTH |
|
Properties
string[] | $info | ||
string[] | $collapsePaths | ||
int | $maxDepth | ||
int | $maxLength | ||
callable|null | $scrubber | ||
string[] | $keysToHide | ||
bool | $showEnvironment |
Methods
No description
Add custom panel as function (?\Throwable $e): ?array
Add action.
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?
Details
at line 51
__construct()
No description
at line 63
BlueScreen
addPanel(callable $panel)
Add custom panel as function (?\Throwable $e): ?array
at line 77
BlueScreen
addAction(callable $action)
Add action.
at line 87
void
render(Throwable $exception)
Renders blue screen.
at line 110
bool
renderToFile(Throwable $exception, string $file)
Renders blue screen to file (if file exists, it will not be overwritten).
at line 268
static string|null
highlightFile(string $file, int $line, int $lines = 15)
Returns syntax highlighted source code.
at line 287
static string
highlightPhp(string $source, int $line, int $lines = 15)
Returns syntax highlighted source code.
at line 311
static string
highlightLine(string $html, int $line, int $lines = 15)
Returns highlighted line in HTML code.
at line 356
static string|null
highlightPhpCli(string $file, int $line, int $lines = 15)
Returns syntax highlighted source code to Terminal.
at line 398
bool
isCollapsed(string $file)
internal |
Should a file be collapsed in stack trace?
at line 413
Closure
getDumper()
internal |
No description
at line 428
string
formatMessage(Throwable $exception)
No description