<?phpnamespaceApp\Http\Controllers\Auth;useApp\Http\Controllers\Controller;useIlluminate\Foundation\Auth\ResetsPasswords;classPasswordControllerextendsController{/* |-------------------------------------------------------------------------- | Password Reset Controller |-------------------------------------------------------------------------- | | This controller is responsible for handling password reset requests | and uses a simple trait to include this behavior. You're free to | explore this trait and override any methods you wish to tweak. | */useResetsPasswords;/** * Create a new password controller instance. * * @return void */publicfunction__construct(){$this->middleware('guest');}}