adrema/app/Payment/Actions/PaymentDestroyAction.php

38 lines
621 B
PHP
Raw Normal View History

2023-10-16 16:21:23 +02:00
<?php
namespace App\Payment\Actions;
use Illuminate\Http\JsonResponse;
use Illuminate\Validation\Rules\In;
use Lorisleiva\Actions\Concerns\AsAction;
class PaymentDestroyAction
{
use AsAction;
public function handle(): void
{
}
/**
* @return array<string, array<int, string|In>>
*/
public function rules(): array
{
return [];
}
/**
* @return array<string, string>
*/
public function getValidationAttributes(): array
{
return [];
}
public function asController(): JsonResponse
{
return response()->json([]);
}
}