2016-01-06 15:23:58 +01:00
|
|
|
<?php namespace App\Events;
|
2016-07-03 18:11:58 +02:00
|
|
|
|
|
|
|
use App\Models\Vendor;
|
2016-01-06 15:23:58 +01:00
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
/**
|
|
|
|
* Class VendorWasUpdated
|
|
|
|
*/
|
2016-01-06 15:23:58 +01:00
|
|
|
class VendorWasUpdated extends Event
|
|
|
|
{
|
|
|
|
use SerializesModels;
|
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
/**
|
|
|
|
* @var Vendor
|
|
|
|
*/
|
2016-01-06 15:23:58 +01:00
|
|
|
public $vendor;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new event instance.
|
|
|
|
*
|
2016-07-03 18:11:58 +02:00
|
|
|
* @param Vendor $vendor
|
2016-01-06 15:23:58 +01:00
|
|
|
*/
|
2016-07-03 18:11:58 +02:00
|
|
|
public function __construct(Vendor $vendor)
|
2016-01-06 15:23:58 +01:00
|
|
|
{
|
|
|
|
$this->vendor = $vendor;
|
|
|
|
}
|
|
|
|
}
|