mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
0fbda85a59
- Removed unused uses - Type hinting for method parameters - Removed commented code - Introduced comments for classes and methods - Short array syntax
31 lines
492 B
PHP
31 lines
492 B
PHP
<?php namespace App\Events;
|
|
|
|
|
|
use App\Models\Invitation;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
/**
|
|
* Class InvoiceInvitationWasEmailed
|
|
*/
|
|
class InvoiceInvitationWasEmailed extends Event
|
|
{
|
|
|
|
use SerializesModels;
|
|
|
|
/**
|
|
* @var Invitation
|
|
*/
|
|
public $invitation;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param Invitation $invitation
|
|
*/
|
|
public function __construct(Invitation $invitation)
|
|
{
|
|
$this->invitation = $invitation;
|
|
}
|
|
|
|
}
|