1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/app/Events/Payment/PaymentWasEmailed.php
2023-06-24 10:09:14 +10:00

40 lines
995 B
PHP

<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2023. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://www.elastic.co/licensing/elastic-license
*/
namespace App\Events\Payment;
use App\Models\Company;
use App\Models\Payment;
use App\Models\ClientContact;
use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;
/**
* Class PaymentWasEmailed.
*/
class PaymentWasEmailed
{
use Dispatchable, InteractsWithSockets, SerializesModels;
/**
* Create a new event instance.
*
* @param Payment $payment
* @param Company $company
* @param ClientContact $contact
* @param array $event_vars
*/
public function __construct(public Payment $payment, public Company $company, public ClientContact $contact, public array $event_vars)
{
}
}