invoiceninja/app/Events/PaymentWasRestored.php

33 lines
555 B
PHP
Raw Permalink Normal View History

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