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