class Dashboard (View source)

The dashboard class handles all user interactions using the dashboard.

Properties

private $output The dashboard output.

Methods

__construct()

The dashboard constructor.

string
get()

Get the rendered output.

bool
classFileExists(string $className)

Test whether a file of a given class is readable.

registerControllerErrorHandler()

Register a error handler that sends a 500 response code in case of a fatal error created by a controller.

Details

__construct()

The dashboard constructor.

string get()

Get the rendered output.

Return Value

string the rendered output.

private bool classFileExists(string $className)

Test whether a file of a given class is readable.

Parameters

string $className

Return Value

bool true in case the file is readable.

private registerControllerErrorHandler()

Register a error handler that sends a 500 response code in case of a fatal error created by a controller.