1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 01:11:34 +02:00
invoiceninja/app/Events/Vendor/VendorWasArchived.php
2020-06-30 09:35:17 +10:00

42 lines
768 B
PHP

<?php
/**
* Invoice Ninja (https://invoiceninja.com)
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2020. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://opensource.org/licenses/AAL
*/
namespace App\Events\Vendor;
use App\Models\Vendor;
use Illuminate\Queue\SerializesModels;
/**
* Class VendorWasArchived.
*/
class VendorWasArchived
{
// vendor
use SerializesModels;
/**
* @var Vendor
*/
public $vendor;
public $company;
/**
* Create a new event instance.
*
* @param Vendor $vendor
*/
public function __construct(Vendor $vendor, $company)
{
$this->vendor = $vendor;
$this->company = $company;
}
}