Align commerce module with the monorepo module structure by updating all namespaces to use the Core\Mod\Commerce convention. This change supports the recent monorepo separation and ensures consistency with other modules. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
391 B
PHP
17 lines
391 B
PHP
<?php
|
|
|
|
namespace Core\Mod\Commerce\Events;
|
|
|
|
use Core\Mod\Commerce\Models\Subscription;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class SubscriptionRenewed
|
|
{
|
|
use Dispatchable, SerializesModels;
|
|
|
|
public function __construct(
|
|
public Subscription $subscription,
|
|
public ?\DateTimeInterface $previousPeriodEnd = null
|
|
) {}
|
|
}
|