1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-19 16:01:34 +02:00
invoiceninja/app/Events/VendorWasUpdated.php

30 lines
433 B
PHP
Raw Normal View History

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