1 | <?php |
||
7 | class ForgotPasswordController extends Controller |
||
8 | { |
||
9 | /* |
||
10 | |-------------------------------------------------------------------------- |
||
11 | | Password Reset Controller |
||
12 | |-------------------------------------------------------------------------- |
||
13 | | |
||
14 | | This controller is responsible for handling password reset emails and |
||
15 | | includes a trait which assists in sending these notifications from |
||
16 | | your application to your users. Feel free to explore this trait. |
||
17 | | |
||
18 | */ |
||
19 | use SendsPasswordResetEmails; |
||
20 | |||
21 | /** |
||
22 | * Create a new controller instance. |
||
23 | * |
||
24 | * @return void |
||
|
|||
25 | */ |
||
26 | public function __construct() |
||
30 | |||
31 | /** |
||
32 | * Display the form to request a password reset link. |
||
33 | * |
||
34 | * @return \Illuminate\Http\Response |
||
35 | */ |
||
36 | public function showLinkRequestForm() |
||
40 | |||
41 | /** |
||
42 | * Get the response for a successful password reset link. |
||
43 | * |
||
44 | * @param string $response |
||
45 | * |
||
46 | * @return \Illuminate\Http\RedirectResponse |
||
47 | */ |
||
48 | protected function sendResetLinkResponse($response) |
||
54 | } |
||
55 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.