mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 07:02:34 +01:00
24 lines
316 B
PHP
24 lines
316 B
PHP
|
<?php namespace App\Events;
|
||
|
|
||
|
use App\Events\Event;
|
||
|
|
||
|
use Illuminate\Queue\SerializesModels;
|
||
|
|
||
|
class InvoiceViewed extends Event {
|
||
|
|
||
|
use SerializesModels;
|
||
|
|
||
|
public $invoice;
|
||
|
|
||
|
/**
|
||
|
* Create a new event instance.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function __construct($invoice)
|
||
|
{
|
||
|
$this->invoice = $invoice;
|
||
|
}
|
||
|
|
||
|
}
|