mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 13:42:49 +01:00
29 lines
547 B
PHP
29 lines
547 B
PHP
<?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;
|
|
|
|
public $company;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct(Credit $credit, $company)
|
|
{
|
|
$this->credit = $credit;
|
|
$this->company = $company;
|
|
}
|
|
}
|