invoiceninja/app/Events/InvoiceWasRestored.php

26 lines
418 B
PHP
Raw Normal View History

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