mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
29 lines
564 B
PHP
29 lines
564 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 CreditWasEmailedAndFailed
|
|
{
|
|
use Dispatchable, InteractsWithSockets, SerializesModels;
|
|
|
|
public $credit;
|
|
|
|
public $errors;
|
|
|
|
public $company;
|
|
|
|
public function __construct(Credit $credit, $company, array $errors)
|
|
{
|
|
$this->credit = $credit;
|
|
|
|
$this->company = $company;
|
|
|
|
$this->errors = $errors;
|
|
}
|
|
}
|