<?phpnamespaceApp\Http\Controllers\Auth;useApp\Http\Controllers\Controller;useIlluminate\Foundation\Auth\SendsPasswordResetEmails;classForgotPasswordControllerextendsController{/* |-------------------------------------------------------------------------- | Password Reset Controller |-------------------------------------------------------------------------- | | This controller is responsible for handling password reset emails and | includes a trait which assists in sending these notifications from | your application to your users. Feel free to explore this trait. | */useSendsPasswordResetEmails;/** * Create a new controller instance. * * @return void */publicfunction__construct(){$this->middleware('guest');}}