Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
| 2 | |
| 3 | namespace Illuminate\Contracts\Http; |
| 4 | |
| 5 | interface Kernel |
| 6 | { |
| 7 | /** |
| 8 | * Bootstrap the application for HTTP requests. |
| 9 | * |
| 10 | * @return void |
| 11 | */ |
| 12 | public function bootstrap(); |
| 13 | |
| 14 | /** |
| 15 | * Handle an incoming HTTP request. |
| 16 | * |
| 17 | * @param \Symfony\Component\HttpFoundation\Request $request |
| 18 | * @return \Symfony\Component\HttpFoundation\Response |
| 19 | */ |
| 20 | public function handle($request); |
| 21 | |
| 22 | /** |
| 23 | * Perform any final actions for the request lifecycle. |
| 24 | * |
| 25 | * @param \Symfony\Component\HttpFoundation\Request $request |
| 26 | * @param \Symfony\Component\HttpFoundation\Response $response |
| 27 | * @return void |
| 28 | */ |
| 29 | public function terminate($request, $response); |
| 30 | |
| 31 | /** |
| 32 | * Get the Laravel application instance. |
| 33 | * |
| 34 | * @return \Illuminate\Contracts\Foundation\Application |
| 35 | */ |
| 36 | public function getApplication(); |
| 37 | } |