Kernel.php 880 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace Illuminate\Contracts\Http;
  3. interface Kernel
  4. {
  5. /**
  6. * Bootstrap the application for HTTP requests.
  7. *
  8. * @return void
  9. */
  10. public function bootstrap();
  11. /**
  12. * Handle an incoming HTTP request.
  13. *
  14. * @param \Symfony\Component\HttpFoundation\Request $request
  15. * @return \Symfony\Component\HttpFoundation\Response
  16. */
  17. public function handle($request);
  18. /**
  19. * Perform any final actions for the request lifecycle.
  20. *
  21. * @param \Symfony\Component\HttpFoundation\Request $request
  22. * @param \Symfony\Component\HttpFoundation\Response $response
  23. * @return void
  24. */
  25. public function terminate($request, $response);
  26. /**
  27. * Get the Laravel application instance.
  28. *
  29. * @return \Illuminate\Contracts\Foundation\Application
  30. */
  31. public function getApplication();
  32. }