Permalink
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (27 sloc) 772 Bytes
<?php
/**
* This file is part of the LuneticsLocaleBundle package.
*
* <https://github.com/lunetics/LocaleBundle/>
*
* For the full copyright and license information, please view the LICENSE
* file that is distributed with this source code.
*/
namespace Lunetics\LocaleBundle;
/**
* Defines aliases for Events in this bundle
*/
final class LocaleBundleEvents
{
/**
* The lunetics_locale.change event is thrown each time the locale changes.
*
* The available locales to be chosen can be restricted through the allowed_languages configuration.
*
* The event listener receives an Lunetics\LocaleBundle\Event\FilterLocaleSwitchEvent instance
*
* @var string
*
*/
const onLocaleChange = 'lunetics_locale.change';
}