$app
$app : \think\App
Web应用管理类
$app : \think\App
__construct(\think\App $app)
| \think\App | $app |
run(\think\Request|null $request = null) : \think\Response
执行应用程序
| \think\Request|null | $request |
end(\think\Response $response) : void
HttpEnd
| \think\Response | $response |
renderException(\think\Request $request, \Throwable $e) : \think\Response
Render the exception to a response.
| \think\Request | $request | |
| \Throwable | $e |