1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 01:11:34 +02:00
invoiceninja/app/Events/Credit/CreditWasEmailed.php

29 lines
547 B
PHP
Raw Normal View History

<?php
namespace App\Events\Credit;
use App\Models\Credit;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class CreditWasEmailed
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public $credit;
2020-06-30 01:35:17 +02:00
public $company;
/**
* Create a new event instance.
*
* @return void
*/
2020-06-30 01:35:17 +02:00
public function __construct(Credit $credit, $company)
{
$this->credit = $credit;
2020-06-30 01:35:17 +02:00
$this->company = $company;
}
}