BlueScreen
class BlueScreen
Red BlueScreen.
Properties
string[] | $info | ||
string[] | $collapsePaths | ||
int | $maxDepth | ||
int | $maxLength |
Methods
__construct()
No description
addPanel(callable $panel)
Add custom panel.
void
renderToFile(Exception|Throwable $exception, string $file)
Renders blue screen to file (if file exists, it will not be overwritten).
static string|null
highlightFile(string $file, int $line, int $lines = 15, array $vars = null)
Returns syntax highlighted source code.
static string
highlightPhp(string $source, int $line, int $lines = 15, array $vars = null)
Returns syntax highlighted source code.
static string
highlightLine($html, $line, $lines = 15)
Returns highlighted line in HTML code.
bool
isCollapsed(string $file)
Should a file be collapsed in stack trace?
Details
at line 32
__construct()
No description
at line 45
BlueScreen
addPanel(callable $panel)
Add custom panel.
at line 79
void
renderToFile(Exception|Throwable $exception, string $file)
Renders blue screen to file (if file exists, it will not be overwritten).
at line 187
static string|null
highlightFile(string $file, int $line, int $lines = 15, array $vars = null)
Returns syntax highlighted source code.
at line 207
static string
highlightPhp(string $source, int $line, int $lines = 15, array $vars = null)
Returns syntax highlighted source code.
at line 242
static string
highlightLine($html, $line, $lines = 15)
Returns highlighted line in HTML code.
at line 287
bool
isCollapsed(string $file)
Should a file be collapsed in stack trace?