1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 07:33:04 +01:00
invoiceninja/app/Events/VendorWasArchived.php

31 lines
449 B
PHP
Raw Normal View History

2017-01-30 20:40:43 +01:00
<?php
namespace App\Events;
2016-01-06 15:23:58 +01:00
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 VendorWasArchived.
*/
2016-01-06 15:23:58 +01:00
class VendorWasArchived extends Event
{
2016-01-07 16:21:13 +01:00
// vendor
2016-01-06 15:23:58 +01:00
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;
}
}