1 | <?php |
||
9 | class ForgotPasswordController extends Controller |
||
10 | { |
||
11 | protected $data = []; // the information we send to the view |
||
12 | |||
13 | /* |
||
14 | |-------------------------------------------------------------------------- |
||
15 | | Password Reset Controller |
||
16 | |-------------------------------------------------------------------------- |
||
17 | | |
||
18 | | This controller is responsible for handling password reset emails and |
||
19 | | includes a trait which assists in sending these notifications from |
||
20 | | your application to your users. Feel free to explore this trait. |
||
21 | | |
||
22 | */ |
||
23 | |||
24 | use SendsPasswordResetEmails; |
||
25 | |||
26 | /** |
||
27 | * Create a new controller instance. |
||
28 | * |
||
29 | * @return void |
||
|
|||
30 | */ |
||
31 | public function __construct() |
||
38 | |||
39 | // ------------------------------------------------------- |
||
40 | // Laravel overwrites for loading backpack views |
||
41 | // ------------------------------------------------------- |
||
42 | |||
43 | /** |
||
44 | * Display the form to request a password reset link. |
||
45 | * |
||
46 | * @return \Illuminate\Http\Response |
||
47 | */ |
||
48 | public function showLinkRequestForm() |
||
54 | |||
55 | public function broker() |
||
62 | } |
||
63 |
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.