mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
26 lines
418 B
PHP
26 lines
418 B
PHP
<?php namespace App\Events;
|
|
|
|
use App\Events\Event;
|
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class InvoiceWasRestored extends Event {
|
|
|
|
use SerializesModels;
|
|
|
|
public $invoice;
|
|
public $fromDeleted;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct($invoice, $fromDeleted)
|
|
{
|
|
$this->invoice = $invoice;
|
|
$this->fromDeleted = $fromDeleted;
|
|
}
|
|
|
|
}
|