2020-07-20 01:02:31 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2020-09-06 11:38:10 +02:00
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
2020-07-20 01:02:31 +02:00
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
2023-01-28 23:21:40 +01:00
|
|
|
* @copyright Copyright (c) 2023. Invoice Ninja LLC (https://invoiceninja.com)
|
2020-07-20 01:02:31 +02:00
|
|
|
*
|
2021-06-16 08:58:16 +02:00
|
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
2020-07-20 01:02:31 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Events\Quote;
|
|
|
|
|
|
|
|
use App\Models\Company;
|
2020-10-29 22:43:23 +01:00
|
|
|
use App\Models\QuoteInvitation;
|
2020-07-20 01:02:31 +02:00
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class QuoteWasViewed.
|
|
|
|
*/
|
|
|
|
class QuoteWasViewed
|
|
|
|
{
|
|
|
|
use SerializesModels;
|
|
|
|
|
|
|
|
public $invitation;
|
|
|
|
|
|
|
|
public $company;
|
|
|
|
|
|
|
|
public $event_vars;
|
|
|
|
|
|
|
|
public function __construct(QuoteInvitation $invitation, Company $company, array $event_vars)
|
|
|
|
{
|
|
|
|
$this->invitation = $invitation;
|
|
|
|
$this->company = $company;
|
|
|
|
$this->event_vars = $event_vars;
|
|
|
|
}
|
|
|
|
}
|