1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00
invoiceninja/app/Events/InvoiceWasRestored.php

26 lines
418 B
PHP
Raw Normal View History

2015-03-31 19:42:37 +02:00
<?php namespace App\Events;
use App\Events\Event;
use Illuminate\Queue\SerializesModels;
2015-10-28 20:22:07 +01:00
class InvoiceWasRestored extends Event {
2015-03-31 19:42:37 +02:00
use SerializesModels;
2015-10-29 23:27:26 +01:00
2015-03-31 20:50:58 +02:00
public $invoice;
2015-10-29 23:27:26 +01:00
public $fromDeleted;
2015-03-31 19:42:37 +02:00
/**
* Create a new event instance.
*
* @return void
*/
2015-10-29 23:27:26 +01:00
public function __construct($invoice, $fromDeleted)
2015-03-31 20:50:58 +02:00
{
$this->invoice = $invoice;
2015-10-29 23:27:26 +01:00
$this->fromDeleted = $fromDeleted;
2015-03-31 20:50:58 +02:00
}
2015-03-31 19:42:37 +02:00
}