User List

This commit is contained in:
2024-07-22 14:18:48 +02:00
parent 2fde820942
commit 7ee04b0a4b
5 changed files with 121 additions and 8 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
namespace Api\Users;
use Khofmann\Api\Api;
use Khofmann\Models\User\User;
use Khofmann\Response\Response;
class Users extends Api
{
public function get()
{
Response::json(User::list());
}
}