Class Application
Front Controller.
- Nette\Application\Application uses Nette\SmartObject
public
|
#
__construct(
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
public static
integer
|
$maxLoop
|
# 20 |
public
boolean
|
$catchExceptions
enable fault barrier? |
|
public
string|null
|
$errorPresenter
|
|
public
callable[]
|
$onStartup
function (Application $sender); Occurs before the application loads presenter |
|
public
callable[]
|
$onShutdown
function (Application $sender, \Exception|\Throwable $e = null); Occurs before the application shuts down |
|
public
callable[]
|
$onRequest
function (Application $sender, Request $request); Occurs when a new request is received |
|
public
callable[]
|
$onPresenter
function (Application $sender, Presenter $presenter); Occurs when a presenter is created |
|
public
callable[]
|
$onResponse
function (Application $sender, IResponse $response); Occurs when a new response is ready for dispatch |
|
public
callable[]
|
$onError
function (Application $sender, \Exception|\Throwable $e); Occurs when an unhandled exception occurs in the application |