1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 21:52:35 +01:00
invoiceninja/app/Events/QuoteInvitationWasApproved.php

38 lines
690 B
PHP
Raw Normal View History

2015-10-28 20:22:07 +01:00
<?php namespace App\Events;
use App\Models\Invitation;
use App\Models\Invoice;
2015-10-28 20:22:07 +01:00
use Illuminate\Queue\SerializesModels;
class QuoteInvitationWasApproved extends Event
{
use SerializesModels;
2015-10-28 20:22:07 +01:00
public $quote;
/**
* @var Invoice
*/
2015-12-16 12:49:26 +01:00
public $invoice;
/**
* @var Invitation
*/
2015-10-28 20:22:07 +01:00
public $invitation;
/**
* Create a new event instance.
*
* @param $quote
* @param Invoice $invoice
* @param Invitation $invitation
*/
public function __construct($quote, Invoice $invoice, Invitation $invitation)
2015-10-28 20:22:07 +01:00
{
$this->quote = $quote;
2015-12-16 12:49:26 +01:00
$this->invoice = $invoice;
2015-10-28 20:22:07 +01:00
$this->invitation = $invitation;
}
}