示例#1
0
 /**
  * Create a new password controller instance.
  *
  * @return void
  */
 public function __construct(Language $language)
 {
     $this->middleware('guest');
     $this->redirectTo = $language->getLocalePrefix() . '/';
 }
 /**
  * Create a new filter instance.
  *
  * @param  Guard  $auth
  * @return void
  */
 public function __construct(Guard $auth, Language $language)
 {
     $this->auth = $auth;
     $this->locale_prefix = $language->getLocalePrefix();
 }