class BlueScreen

Red BlueScreen.

Properties

string[] $info
string[] $collapsePaths

Methods

__construct()

No description

addPanel($panel)

Add custom panel.

void
render($exception)

Renders blue screen.

static string|null
highlightFile($file, $line, $lines = 15, array $vars = NULL)

Returns syntax highlighted source code.

static string
highlightPhp($source, $line, $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($file)

Should a file be collapsed in stack trace?

Details

at line 26
__construct()

No description

at line 39
BlueScreen addPanel($panel)

Add custom panel.

Parameters

$panel

Return Value

BlueScreen

at line 53
void render($exception)

Renders blue screen.

Parameters

$exception

Return Value

void

at line 77
static string|null highlightFile($file, $line, $lines = 15, array $vars = NULL)

Returns syntax highlighted source code.

Parameters

$file
$line
$lines
array $vars

Return Value

string|null

at line 97
static string highlightPhp($source, $line, $lines = 15, array $vars = NULL)

Returns syntax highlighted source code.

Parameters

$source
$line
$lines
array $vars

Return Value

string

at line 133
static string highlightLine($html, $line, $lines = 15)

Returns highlighted line in HTML code.

Parameters

$html
$line
$lines

Return Value

string

at line 178
bool isCollapsed($file)

Should a file be collapsed in stack trace?

Parameters

$file

Return Value

bool