php-commerce/Events/SubscriptionRenewed.php

20 lines
417 B
PHP
Raw Normal View History

2026-01-27 00:24:22 +00:00
<?php
declare(strict_types=1);
namespace Core\Mod\Commerce\Events;
2026-01-27 00:24:22 +00:00
use Core\Mod\Commerce\Models\Subscription;
2026-01-27 00:24:22 +00:00
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class SubscriptionRenewed
{
use Dispatchable, SerializesModels;
public function __construct(
public Subscription $subscription,
public ?\DateTimeInterface $previousPeriodEnd = null
) {}
}