Kernel.php
36 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Contracts\Http; |
| 4 | |
| 5 | /** @internal */ |
| 6 | interface Kernel |
| 7 | { |
| 8 | /** |
| 9 | * Bootstrap the application for HTTP requests. |
| 10 | * |
| 11 | * @return void |
| 12 | */ |
| 13 | public function bootstrap(); |
| 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 | * Perform any final actions for the request lifecycle. |
| 23 | * |
| 24 | * @param \Symfony\Component\HttpFoundation\Request $request |
| 25 | * @param \Symfony\Component\HttpFoundation\Response $response |
| 26 | * @return void |
| 27 | */ |
| 28 | public function terminate($request, $response); |
| 29 | /** |
| 30 | * Get the Laravel application instance. |
| 31 | * |
| 32 | * @return \Illuminate\Contracts\Foundation\Application |
| 33 | */ |
| 34 | public function getApplication(); |
| 35 | } |
| 36 |