class BlueScreen

Red BlueScreen.

Properties

string[] $info
string[] $collapsePaths

Methods

addPanel($panel)

Add custom panel.

void
render(Exception $exception)

Renders blue screen.

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

Returns syntax highlighted source code.

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

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 35
BlueScreen addPanel($panel)

Add custom panel.

Parameters

$panel

Return Value

BlueScreen

at line 49
void render(Exception $exception)

Renders blue screen.

Parameters

Exception $exception

Return Value

void

at line 64
static string highlightFile($file, $line, $lines = 15, $vars = array())

Returns syntax highlighted source code.

Parameters

$file
$line
$lines
$vars

Return Value

string

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

Returns syntax highlighted source code.

Parameters

$source
$line
$lines
$vars

Return Value

string

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

Returns highlighted line in HTML code.

Parameters

$html
$line
$lines

Return Value

string

at line 160
bool isCollapsed($file)

Should a file be collapsed in stack trace?

Parameters

$file

Return Value

bool