original_string: protected function storeActiveTranslationLocale($request)
      {
          $locale = $request->input(DefaultModelController::ACTIVE_TRANSLATION_LOCALE_KEY);
  
          if ( ! $locale) return;
  
          /** @var TranslationLocaleHelperInterface $helper */
          $helper = app(TranslationLocaleHelperInterface::class);
  
          $helper->setActiveLocale($locale);
      }
code: protected function storeActiveTranslationLocale($request)
      {
          $locale = $request->input(DefaultModelController::ACTIVE_TRANSLATION_LOCALE_KEY);
  
          if ( ! $locale) return;
  
          /** @var TranslationLocaleHelperInterface $helper */
          $helper = app(TranslationLocaleHelperInterface::class);
  
          $helper->setActiveLocale($locale);
      }
code_tokens: protected function storeActiveTranslationLocale ( $ request ) { $ locale = $ request -> input ( DefaultModelController :: ACTIVE_TRANSLATION_LOCALE_KEY ) ; if ( ! $ locale ) return ; /** @var TranslationLocaleHelperInterface $helper */ $ helper = app ( TranslationLocaleHelperInterface :: class ) ; $ helper -> setActiveLocale ( $ locale ) ; }
docstring: Stores active translation locale in session.
  
  @param \Illuminate\Http\Request $request
docstring_tokens: Stores active translation locale in session .