mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-06 02:33:48 +00:00
20 lines
427 B
PHP
20 lines
427 B
PHP
<?php
|
|
namespace Domain\Settings\Controllers;
|
|
|
|
use Illuminate\Http\JsonResponse;
|
|
use App\Http\Controllers\Controller;
|
|
use Domain\Settings\Actions\GetConfigAction;
|
|
|
|
class GetConfigController extends Controller
|
|
{
|
|
public function __construct(
|
|
public GetConfigAction $getConfigAction,
|
|
) {
|
|
}
|
|
|
|
public function __invoke(): JsonResponse
|
|
{
|
|
return response()->json(($this->getConfigAction)());
|
|
}
|
|
}
|