1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
invoiceninja/app/Events/PaymentWasRestored.php

31 lines
553 B
PHP
Raw Normal View History

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