1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00
invoiceninja/app/Events/QuoteInvitationWasApproved.php

31 lines
586 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 Invitation
*/
2015-10-28 20:22:07 +01:00
public $invitation;
/**
* Create a new event instance.
*
* @param $quote
* @param Invoice $invoice
* @param Invitation $invitation
*/
2016-07-20 09:03:46 +02:00
public function __construct(Invoice $quote, Invitation $invitation)
2015-10-28 20:22:07 +01:00
{
$this->quote = $quote;
$this->invitation = $invitation;
}
}