Initial commit
This commit is contained in:
33
backend/src/Controller/ApiController.php
Normal file
33
backend/src/Controller/ApiController.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
namespace App\Controller;
|
||||
|
||||
use Symfony\Component\HttpFoundation\JsonResponse;
|
||||
|
||||
class ApiController
|
||||
{
|
||||
public function login()
|
||||
{
|
||||
return new JsonResponse([
|
||||
|
||||
]);
|
||||
}
|
||||
|
||||
public function logout()
|
||||
{
|
||||
return new JsonResponse([
|
||||
|
||||
]);
|
||||
}
|
||||
|
||||
public function showVersionInfo()
|
||||
{
|
||||
return new JsonResponse([
|
||||
'version' => '1',
|
||||
]);
|
||||
}
|
||||
|
||||
public function listUsers()
|
||||
{
|
||||
return new JsonResponse([]);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user