Application.php
67 * @param $defaultController The controller to call if none is given in request parameters (optional, default: '')
68 * @param $defaultContext The context to set if none is given in request parameters (optional, default: '')
Request holds the request values that are used as input to Controller instances.
Definition: Request.php:18
static fromException(\Exception $ex)
Factory method for transforming an exception into an ApplicationError instance.
Definition: ApplicationError.php:172
const LEVEL_WARNING
Definition: ApplicationError.php:44
handleException(\Exception $exception)
Default exception handling method.
Definition: Application.php:130
ApplicationException signals a general application exception.
Definition: ApplicationException.php:22
static getInstance($name, $dynamicConfiguration=[])
Definition: ObjectFactory.php:47
initialize($defaultController='', $defaultContext='', $defaultAction='login')
Initialize the request.
Definition: Application.php:72
LogManager is used to retrieve Logger instances.
Definition: LogManager.php:20
ObjectFactory implements the service locator pattern by wrapping a Factory instance and providing sta...
Definition: ObjectFactory.php:24
Application is the main application class, that does all the initialization.
Definition: Application.php:22
ErrorHandler catches all php errors and transforms fatal errors into ErrorExceptions and non-fatal in...
Definition: ErrorHandler.php:19