1 | <?php |
||
17 | class Controller extends PortWebController |
||
18 | { |
||
19 | |||
20 | /** |
||
21 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
22 | */ |
||
23 | public function showLoginPage() |
||
27 | |||
28 | /** |
||
29 | * @param \App\Containers\Authentication\UI\Web\Requests\LoginRequest $request |
||
30 | * @param \App\Containers\Authentication\Actions\WebAdminLoginAction $action |
||
31 | * |
||
32 | * @return $this|\Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
33 | */ |
||
34 | public function loginAdmin(LoginRequest $request, WebAdminLoginAction $action) |
||
48 | |||
49 | /** |
||
50 | * @param \App\Containers\Authentication\UI\Web\Requests\ViewDashboardRequest $request |
||
51 | * |
||
52 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
53 | */ |
||
54 | public function viewDashboardPage(ViewDashboardRequest $request) |
||
58 | |||
59 | /** |
||
60 | * @param \App\Containers\Authentication\Actions\WebLogoutAction $action |
||
61 | * |
||
62 | * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
63 | */ |
||
64 | public function logoutAdmin(WebLogoutAction $action) |
||
70 | |||
71 | |||
72 | } |
||
73 |
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.