1 | <?php |
||
8 | class ConfirmPasswordController extends Controller |
||
9 | { |
||
10 | /* |
||
11 | |-------------------------------------------------------------------------- |
||
12 | | Confirm Password Controller |
||
13 | |-------------------------------------------------------------------------- |
||
14 | | |
||
15 | | This controller is responsible for handling password confirmations and |
||
16 | | uses a simple trait to include the behavior. You're free to explore |
||
17 | | this trait and override any functions that require customization. |
||
18 | | |
||
19 | */ |
||
20 | |||
21 | use ConfirmsPasswords; |
||
22 | |||
23 | /** |
||
24 | * Where to redirect users when the intended url fails. |
||
25 | */ |
||
26 | protected function redirectTo() |
||
30 | |||
31 | /** |
||
32 | * Create a new controller instance. |
||
33 | * |
||
34 | * @return void |
||
|
|||
35 | */ |
||
36 | public function __construct() |
||
40 | |||
41 | /** |
||
42 | * Display the password confirmation view. |
||
43 | * |
||
44 | * @return \Illuminate\View\View |
||
45 | */ |
||
46 | public function showConfirmForm() |
||
50 | } |
||
51 |
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.