%PDF- %PDF-
Direktori : /home/silvzytp/calling_code/vendor/spatie/laravel-ignition/src/Http/Controllers/ |
Current File : //home/silvzytp/calling_code/vendor/spatie/laravel-ignition/src/Http/Controllers/UpdateConfigController.php |
<?php namespace Spatie\LaravelIgnition\Http\Controllers; use Spatie\Ignition\Config\IgnitionConfig; use Spatie\LaravelIgnition\Http\Requests\UpdateConfigRequest; class UpdateConfigController { public function __invoke(UpdateConfigRequest $request) { $result = (new IgnitionConfig())->saveValues($request->validated()); return response()->json($result); } }