27 lines
473 B
PHP
27 lines
473 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Events;
|
||
|
|
|
||
|
|
use App\Models\Billing\Subscription;
|
||
|
|
use Illuminate\Broadcasting\InteractsWithSockets;
|
||
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
||
|
|
use Illuminate\Queue\SerializesModels;
|
||
|
|
|
||
|
|
class SubscriptionCreated
|
||
|
|
{
|
||
|
|
use Dispatchable;
|
||
|
|
use InteractsWithSockets;
|
||
|
|
use SerializesModels;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Create a new event instance.
|
||
|
|
*
|
||
|
|
* @return void
|
||
|
|
*/
|
||
|
|
|
||
|
|
public function __construct(public Subscription $subscription)
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|