mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
30 lines
433 B
PHP
30 lines
433 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Ticket;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
/**
|
|
* Class TicketUserViewed.
|
|
*/
|
|
class TicketUserViewed extends Event
|
|
{
|
|
use SerializesModels;
|
|
|
|
/**
|
|
* @var Ticket
|
|
*/
|
|
public $ticket;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param Ticket $ticket
|
|
*/
|
|
public function __construct(Ticket $ticket)
|
|
{
|
|
$this->ticket = $ticket;
|
|
}
|
|
}
|