19 lines
432 B
PHP
19 lines
432 B
PHP
<?php
|
|
|
|
namespace App\Domains\Admin\Controllers;
|
|
|
|
use App\Enumerations\ParticipantGroupType;
|
|
use App\Scopes\CommonController;
|
|
use Illuminate\Http\JsonResponse;
|
|
use Illuminate\Http\Request;
|
|
|
|
class GlobalSettingsGetController extends CommonController
|
|
{
|
|
public function __invoke(Request $request): JsonResponse
|
|
{
|
|
return response()->json([
|
|
'groupLabels' => ParticipantGroupType::labels(),
|
|
]);
|
|
}
|
|
}
|