2017-01-30 20:40:43 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Events;
|
2015-10-28 20:22:07 +01:00
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
use App\Models\Client;
|
2015-10-28 20:22:07 +01:00
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
/**
|
2017-01-30 20:40:43 +01:00
|
|
|
* Class ClientWasDeleted.
|
2016-07-03 18:11:58 +02:00
|
|
|
*/
|
2015-10-28 20:22:07 +01:00
|
|
|
class ClientWasDeleted extends Event
|
|
|
|
{
|
|
|
|
use SerializesModels;
|
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
/**
|
|
|
|
* @var Client
|
|
|
|
*/
|
2015-10-28 20:22:07 +01:00
|
|
|
public $client;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new event instance.
|
|
|
|
*
|
2016-07-03 18:11:58 +02:00
|
|
|
* @param Client $client
|
2015-10-28 20:22:07 +01:00
|
|
|
*/
|
2016-07-03 18:11:58 +02:00
|
|
|
public function __construct(Client $client)
|
2015-10-28 20:22:07 +01:00
|
|
|
{
|
|
|
|
$this->client = $client;
|
|
|
|
}
|
|
|
|
}
|