1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01:00
invoiceninja/app/Events/Quote/QuoteWasApproved.php

50 lines
1.2 KiB
PHP
Raw Normal View History

<?php
2020-07-08 14:02:16 +02:00
/**
* Invoice Ninja (https://invoiceninja.com).
2020-07-08 14:02:16 +02:00
*
* @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\Quote;
2020-08-24 13:21:35 +02:00
use App\Models\ClientContact;
2020-07-08 14:02:16 +02:00
use App\Models\Company;
use App\Models\Quote;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class QuoteWasApproved
{
use Dispatchable, InteractsWithSockets, SerializesModels;
2020-07-22 09:53:14 +02:00
public $contact;
public $quote;
2020-06-30 01:35:17 +02:00
public $company;
2020-07-08 14:02:16 +02:00
public $event_vars;
/**
* Create a new event instance.
*
* @return void
*/
2020-07-22 09:53:14 +02:00
public function __construct(ClientContact $contact, Quote $quote, Company $company, array $event_vars)
{
2020-07-22 09:53:14 +02:00
$this->contact = $contact;
$this->quote = $quote;
2020-06-30 01:35:17 +02:00
$this->company = $company;
2020-07-08 14:02:16 +02:00
$this->event_vars = $event_vars;
}
}