mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 12:12:48 +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;
|
|
}
|
|
|
|
}
|