This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/HttpKernel
Fabien Potencier 556a9206ca feature #29483 [HttpKernel] Set the default locale early (thewilkybarkid)
This PR was merged into the 4.3-dev branch.

Discussion
----------

[HttpKernel] Set the default locale early

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Similar to #29186, the default locale isn't set till after the router so isn't available when trying to handle errors there (well, only the _default_ default locale is).

Commits
-------

02c9f352d9 Set the default locale early
2019-01-02 11:31:36 +01:00
..
Bundle Merge branch '3.4' into 4.1 2018-09-08 15:24:10 +02:00
CacheClearer feature #26223 [FrameworkBundle] Add command to delete an item from a cache pool (pierredup) 2018-03-02 13:13:05 +01:00
CacheWarmer Merge branch '4.1' 2018-07-26 10:59:12 +02:00
Config Merge branch '3.4' into 4.1 2018-10-02 14:40:59 +02:00
Controller Merge branch '4.1' 2018-11-15 13:17:10 +01:00
ControllerMetadata Merge branch '3.4' into 4.1 2018-10-02 14:40:59 +02:00
DataCollector feature #29235 [VarDumper] add support for links in CliDumper (nicolas-grekas) 2018-12-13 09:09:04 +01:00
Debug Optimize perf by replacing call_user_func with dynamic vars 2018-12-09 23:58:21 +01:00
DependencyInjection [DI] Allow autowiring by type + parameter name 2018-08-23 11:47:19 +02:00
Event Merge branch '3.4' into 4.0 2018-07-26 11:08:35 +02:00
EventListener feature #29483 [HttpKernel] Set the default locale early (thewilkybarkid) 2019-01-02 11:31:36 +01:00
Exception Merge branch '4.1' 2018-07-26 10:59:12 +02:00
Fragment Merge branch '3.4' into 4.1 2018-09-30 05:38:13 +02:00
HttpCache Merge branch '3.4' into 4.1 2018-11-20 17:14:00 +01:00
Log Merge branch '4.0' into 4.1 2018-07-26 10:55:25 +02:00
Profiler Merge branch '4.1' 2018-10-02 14:43:31 +02:00
Resources Display the Welcome Page when there is no homepage defined 2018-03-11 13:19:35 -05:00
Tests feature #29483 [HttpKernel] Set the default locale early (thewilkybarkid) 2019-01-02 11:31:36 +01:00
.gitignore
CHANGELOG.md feature #29483 [HttpKernel] Set the default locale early (thewilkybarkid) 2019-01-02 11:31:36 +01:00
Client.php Merge branch '3.4' into 4.1 2018-09-05 13:58:22 +02:00
composer.json Merge branch '4.2' 2018-12-06 11:00:21 +00:00
HttpKernel.php Merge branch '4.1' into 4.2 2018-12-01 09:52:38 +01:00
HttpKernelInterface.php remove api tags from code 2015-09-28 19:11:22 +02:00
Kernel.php Merge branch '4.2' 2018-12-24 11:03:37 +01:00
KernelEvents.php Merge branch '2.8' into 3.3 2017-11-05 16:47:03 +01:00
KernelInterface.php [HttpKernel] Introduce KernelInterface::getProjectDir() 2018-10-17 11:36:49 +02:00
LICENSE fixed years in copyright 2018-01-03 08:23:28 +01:00
phpunit.xml.dist Bump phpunit XSD version to 5.2 2018-11-11 12:18:13 +01:00
README.md Updated all the README files 2016-03-04 08:12:06 +01:00
RebootableInterface.php [HttpKernel][FrameworkBundle] Add RebootableInterface, fix and un-deprecate cache:clear with warmup 2017-08-18 13:51:16 +02:00
TerminableInterface.php [DI] minor docblock fixes 2017-10-24 13:40:19 +02:00
UriSigner.php Replace more docblocks by type-hints 2017-11-07 15:45:01 +01:00

HttpKernel Component

The HttpKernel component provides a structured process for converting a Request into a Response by making use of the EventDispatcher component. It's flexible enough to create a full-stack framework (Symfony), a micro-framework (Silex) or an advanced CMS system (Drupal).

Resources