1 | <?php |
||
26 | class Controller extends PortApiController |
||
27 | { |
||
28 | |||
29 | /** |
||
30 | * @param \App\Containers\User\UI\API\Requests\DeleteUserRequest $request |
||
31 | * @param \App\Containers\User\Actions\DeleteUserAction $action |
||
32 | * |
||
33 | * @return \Dingo\Api\Http\Response |
||
34 | */ |
||
35 | public function deleteUser(DeleteUserRequest $request, DeleteUserAction $action) |
||
43 | |||
44 | /** |
||
45 | * @param \App\Containers\User\UI\API\Requests\ListAllUsersRequest $request |
||
46 | * @param \App\Containers\User\Actions\ListAndSearchUsersAction $action |
||
47 | * |
||
48 | * @return \Dingo\Api\Http\Response |
||
49 | */ |
||
50 | public function listAllUsers(ListAllUsersRequest $request, ListAndSearchUsersAction $action) |
||
56 | |||
57 | /** |
||
58 | * @param \App\Containers\User\UI\API\Requests\ListAllUsersRequest $request |
||
59 | * @param \App\Containers\User\Actions\ListAndSearchUsersAction $action |
||
60 | * |
||
61 | * @return \Dingo\Api\Http\Response |
||
62 | */ |
||
63 | public function listAllClients(ListAllUsersRequest $request, ListAndSearchUsersAction $action) |
||
69 | |||
70 | /** |
||
71 | * @param \App\Containers\User\UI\API\Requests\ListAllUsersRequest $request |
||
72 | * @param \App\Containers\User\Actions\ListAndSearchUsersAction $action |
||
73 | * |
||
74 | * @return \Dingo\Api\Http\Response |
||
75 | */ |
||
76 | public function listAllAdmins(ListAllUsersRequest $request, ListAndSearchUsersAction $action) |
||
82 | |||
83 | /** |
||
84 | * @param \Dingo\Api\Http\Request $request |
||
85 | * @param \App\Containers\User\Actions\GetUserAction $action |
||
86 | * |
||
87 | * @return \Dingo\Api\Http\Response |
||
88 | */ |
||
89 | public function refreshUser(Request $request, GetUserAction $action) |
||
98 | |||
99 | /** |
||
100 | * @param \App\Containers\User\UI\API\Requests\GetUserRequest $request |
||
101 | * @param \App\Containers\User\Actions\GetUserAction $action |
||
102 | * |
||
103 | * @return \Dingo\Api\Http\Response |
||
104 | */ |
||
105 | public function getUser(GetUserRequest $request, GetUserAction $action) |
||
111 | |||
112 | /** |
||
113 | * @param \App\Containers\User\UI\API\Requests\RegisterUserRequest $request |
||
114 | * @param \App\Containers\User\Actions\CreateUserAction $action |
||
115 | * |
||
116 | * @return \Dingo\Api\Http\Response |
||
117 | */ |
||
118 | public function registerUser(RegisterUserRequest $request, CreateUserAction $action) |
||
125 | |||
126 | /** |
||
127 | * @param \App\Containers\User\UI\API\Requests\CreateAdminRequest $request |
||
128 | * @param \App\Containers\User\Actions\CreateAdminAction $action |
||
129 | * |
||
130 | * @return \Dingo\Api\Http\Response |
||
131 | */ |
||
132 | public function createAdmin(CreateAdminRequest $request, CreateAdminAction $action) |
||
138 | |||
139 | /** |
||
140 | * @param \App\Containers\User\UI\API\Requests\UpdateUserRequest $request |
||
141 | * @param \App\Containers\User\Actions\UpdateUserAction $action |
||
142 | * |
||
143 | * @return \Dingo\Api\Http\Response |
||
144 | */ |
||
145 | public function updateUser(UpdateUserRequest $request, UpdateUserAction $action) |
||
157 | } |
||
158 |
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.