src/Http/Requests/ProductRecursiveCancelRequest.php
<?php
namespace EscolaLms\Cart\Http\Requests;
use EscolaLms\Cart\Models\Product;
use Illuminate\Support\Facades\Gate;
class ProductRecursiveCancelRequest extends ProductRequest
{
public function authorize(): bool
{
return Gate::allows('cancelProductRecursive', Product::class);
}
}