invoiceninja/app/Events/PaymentWasDeleted.php

30 lines
444 B
PHP
Raw Normal View History

<?php
2015-03-31 20:42:37 +03:00
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;
/**
* Class PaymentWasDeleted.
*/
class PaymentWasDeleted extends Event
{
2017-01-30 18:05:31 +02:00
use SerializesModels;
/**
* @var Payment
*/
2015-03-31 21:50:58 +03:00
public $payment;
/**
* Create a new event instance.
2017-01-30 18:05:31 +02:00
*
* @param Payment $payment
*/
public function __construct(Payment $payment)
2015-10-28 21:22:07 +02:00
{
$this->payment = $payment;
}
2015-03-31 20:42:37 +03:00
}