mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 05:32:39 +01:00
30 lines
433 B
PHP
30 lines
433 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Events;
|
||
|
|
||
|
use App\Models\Client;
|
||
|
use Illuminate\Queue\SerializesModels;
|
||
|
|
||
|
/**
|
||
|
* Class ClientWasCreated.
|
||
|
*/
|
||
|
class ClientWasCreated extends Event
|
||
|
{
|
||
|
use SerializesModels;
|
||
|
|
||
|
/**
|
||
|
* @var Client
|
||
|
*/
|
||
|
public $client;
|
||
|
|
||
|
/**
|
||
|
* Create a new event instance.
|
||
|
*
|
||
|
* @param Client $client
|
||
|
*/
|
||
|
public function __construct(Client $client)
|
||
|
{
|
||
|
$this->client = $client;
|
||
|
}
|
||
|
}
|