Release 2.38.0 (#5563)

This commit is contained in:
Kevin Papst
2025-08-08 23:25:42 +02:00
committed by GitHub
parent f3890691ce
commit 04331420ae
88 changed files with 1319 additions and 697 deletions

View File

@@ -9,17 +9,9 @@
namespace App\Event;
use App\Entity\Invoice;
use Symfony\Contracts\EventDispatcher\Event;
use App\Webhook\Attribute\AsWebhook;
final class InvoiceDeleteEvent extends Event
#[AsWebhook(name: 'invoice.deleted', description: 'Triggered after an invoice was deleted', payload: 'object.getInvoice()')]
final class InvoiceDeleteEvent extends AbstractInvoiceEvent
{
public function __construct(private Invoice $invoice)
{
}
public function getInvoice(): Invoice
{
return $this->invoice;
}
}