http_kernel
class http_kernel implements http_kernel_interface
| internal |
HTTP Kernel.
Responsible for converting a Request into a Response. It abstracts the complexity of Routing matching, Controller execution, CORS handling, and Exception management.
Methods
void
handle(ContainerInterface $container, RouteCollection $routes, RequestContext $context)
Handle the HTTP Request cycle.
Details
at line 64
void
handle(ContainerInterface $container, RouteCollection $routes, RequestContext $context)
Handle the HTTP Request cycle.
- Detects CORS preflight requests.
- Matches the URL path to a Route.
- Resolves the Controller from the Container.
- Executes the Controller.
- Returns a valid Symfony Response.