protected function configureBehavior($behavior, EventSubscriber $es)
	{
		switch ($behavior) {
			case 'translatable':
				$es->setTranslatableLocale(\Config::get('language', 'en'));
				$es->setDefaultLocale(\Config::get('language_fallback', 'en'));
				break;
		}
	}
protected function configureBehavior($behavior, EventSubscriber $es)
	{
		switch ($behavior) {
			case 'translatable':
				$es->setTranslatableLocale(\Config::get('language', 'en'));
				$es->setDefaultLocale(\Config::get('language_fallback', 'en'));
				break;
		}
	}
protected function configureBehavior ( $ behavior , EventSubscriber $ es ) { switch ( $ behavior ) { case 'translatable' : $ es -> setTranslatableLocale ( \ Config :: get ( 'language' , 'en' ) ) ; $ es -> setDefaultLocale ( \ Config :: get ( 'language_fallback' , 'en' ) ) ; break ; } }
Configures Behavior Subscriber

@param  string          $behavior
@param  EventSubscriber $es
Configures Behavior Subscriber