Save response time by making errors controller lazy

This commit is contained in:
Giuseppe Criscione 2024-11-02 12:09:01 +01:00
parent 8301941244
commit df2d2cbeaa

View File

@ -174,8 +174,7 @@ final class App
->alias('request');
$container->define(ErrorsController::class)
->alias(ErrorsControllerInterface::class)
->lazy(false);
->alias(ErrorsControllerInterface::class);
$container->define(CsrfToken::class)
->alias('csrfToken');