1 | <?php |
||
18 | class Controller extends PortWebController |
||
19 | { |
||
20 | |||
21 | /** |
||
22 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
23 | */ |
||
24 | public function showLoginPage() |
||
28 | |||
29 | /** |
||
30 | * @param \App\Containers\Authentication\UI\WEB\Requests\LoginRequest $request |
||
31 | * @param \App\Containers\Authentication\Actions\WebAdminLoginAction $action |
||
32 | * |
||
33 | * @return $this|\Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
34 | */ |
||
35 | public function loginAdmin(LoginRequest $request, WebAdminLoginAction $action) |
||
49 | |||
50 | /** |
||
51 | * @param \App\Containers\Authentication\UI\WEB\Requests\ViewDashboardRequest $request |
||
52 | * |
||
53 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
54 | */ |
||
55 | public function viewDashboardPage(ViewDashboardRequest $request) |
||
59 | |||
60 | /** |
||
61 | * @param \App\Containers\Authentication\Actions\WebLogoutAction $action |
||
62 | * |
||
63 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
64 | */ |
||
65 | public function logoutAdmin(WebLogoutAction $action) |
||
71 | |||
72 | |||
73 | } |
||
74 |
Since your code implements the magic getter
_get
, this function will be called for any read access on an undefined variable. You can add the@property
annotation to your class or interface to document the existence of this variable.If the property has read access only, you can use the @property-read annotation instead.
Of course, you may also just have mistyped another name, in which case you should fix the error.
See also the PhpDoc documentation for @property.