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/Bundle/FrameworkBundle/Tests/Templating/Helper
Fabien Potencier 74bc699b27 moved management of the locale from the Session class to the Request class
The locale management does not require sessions anymore.

In the Symfony2 spirit, the locale should be part of your URLs. If this is the case
(via the special _locale request attribute), Symfony will store it in the request
(getLocale()).

This feature is now also configurable/replaceable at will as everything is now managed
by the new LocaleListener event listener.

How to upgrade:

The default locale configuration has been moved from session to the main configuration:

Before:

framework:
    session:
        default_locale: en

After:

framework:
    default_locale: en

Whenever you want to get the current locale, call getLocale() on the request (was on the
session before).
2011-10-08 18:34:49 +02:00
..
Fixtures [Form] Improve unit tests for rendering 2011-06-22 10:27:21 +02:00
Resources fixed CS 2011-06-23 13:39:36 +02:00
CodeHelperTest.php Additional tests for PhpEngine + Helpers 2011-06-16 11:42:29 +02:00
FormHelperDivLayoutTest.php [Form] Add the FormHelper configuration 2011-06-22 10:27:21 +02:00
FormHelperTableLayoutTest.php [Form] Improve unit tests for rendering 2011-06-22 10:27:21 +02:00
RequestHelperTest.php moved management of the locale from the Session class to the Request class 2011-10-08 18:34:49 +02:00
SessionHelperTest.php moved management of the locale from the Session class to the Request class 2011-10-08 18:34:49 +02:00