1 | <?php |
||
25 | class RegistrationController extends AbstractController |
||
26 | { |
||
27 | /** |
||
28 | * Create a new authentication controller instance. |
||
29 | * |
||
30 | * @return void |
||
|
|||
31 | */ |
||
32 | public function __construct() |
||
36 | |||
37 | /** |
||
38 | * Show the registration form. |
||
39 | * |
||
40 | * @param \Rinvex\Fort\Http\Requests\UserRegistration $request |
||
41 | * |
||
42 | * @return \Illuminate\Http\Response |
||
43 | */ |
||
44 | public function showRegisteration(UserRegistration $request) |
||
48 | |||
49 | /** |
||
50 | * Process the registration form. |
||
51 | * |
||
52 | * @param \Rinvex\Fort\Http\Requests\UserRegistration $request |
||
53 | * |
||
54 | * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse |
||
55 | */ |
||
56 | public function processRegisteration(UserRegistration $request) |
||
79 | } |
||
80 |
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.