$request
$request : \nre\core\Request
Die aktuelle Anfrage
Abstract class to implement an API.
The API is the center of each application and specifies how and what to run and render.
$request : \nre\core\Request
Die aktuelle Anfrage
$response : \nre\core\Response
Die aktuelle Antwort
$log : \nre\core\Logger
Log-System
__construct(\nre\core\Request $request, \nre\core\Response $response)
Construct a new API.
| \nre\core\Request | $request | Current request |
| \nre\core\Response | $response |
run() : \nre\core\Exception
Run the application.
Last occurred exception of an subagent
log(\nre\core\Exception $exception, integer $logMode)
Log an exception
| \nre\core\Exception | $exception | Occurred exception |
| integer | $logMode | Log-mode |