1 | <?php |
||
10 | class VerificationController extends Controller |
||
11 | { |
||
12 | /* |
||
13 | |-------------------------------------------------------------------------- |
||
14 | | Email Verification Controller |
||
15 | |-------------------------------------------------------------------------- |
||
16 | | |
||
17 | | This controller is responsible for handling email verification for any |
||
18 | | user that recently registered with the application. Emails may also |
||
19 | | be re-sent if the user didn't receive the original email message. |
||
20 | | |
||
21 | */ |
||
22 | |||
23 | use VerifiesEmails; |
||
24 | |||
25 | /** |
||
26 | * Where to redirect users when the intended url fails. |
||
27 | */ |
||
28 | protected function redirectTo() |
||
32 | |||
33 | /** |
||
34 | * Create a new controller instance. |
||
35 | * |
||
36 | * @return void |
||
|
|||
37 | */ |
||
38 | public function __construct() |
||
44 | |||
45 | /** |
||
46 | * Show the email verification notice. |
||
47 | * |
||
48 | * @param \Illuminate\Http\Request $request |
||
49 | * @return \Illuminate\Http\Response|\Illuminate\View\View |
||
50 | */ |
||
51 | public function show(Request $request) |
||
57 | |||
58 | /** |
||
59 | * Resend the email verification notification. |
||
60 | * |
||
61 | * @param \Illuminate\Http\Request $request |
||
62 | * @return \Illuminate\Http\RedirectResponse|Response |
||
63 | */ |
||
64 | public function resend(Request $request) |
||
81 | } |
||
82 |
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.