2016-07-03 18:11:58 +02:00
|
|
|
<?php
|
2015-03-31 19:42:37 +02:00
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
namespace App\Events;
|
2015-03-31 19:42:37 +02:00
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
use App\Models\Payment;
|
2015-03-31 19:42:37 +02:00
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
/**
|
|
|
|
* Class PaymentWasDeleted.
|
|
|
|
*/
|
|
|
|
class PaymentWasDeleted extends Event
|
|
|
|
{
|
2017-01-30 17:05:31 +01:00
|
|
|
use SerializesModels;
|
2016-07-03 18:11:58 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var Payment
|
|
|
|
*/
|
2015-03-31 20:50:58 +02:00
|
|
|
public $payment;
|
2016-07-03 18:11:58 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new event instance.
|
2017-01-30 17:05:31 +01:00
|
|
|
*
|
2016-07-03 18:11:58 +02:00
|
|
|
* @param Payment $payment
|
|
|
|
*/
|
|
|
|
public function __construct(Payment $payment)
|
2015-10-28 20:22:07 +01:00
|
|
|
{
|
|
|
|
$this->payment = $payment;
|
|
|
|
}
|
2015-03-31 19:42:37 +02:00
|
|
|
}
|