invoiceninja/app/Events/PaymentCompleted.php

30 lines
442 B
PHP
Raw Normal View History

2017-01-30 21:40:43 +02:00
<?php
namespace App\Events;
2016-04-30 17:54:56 -04:00
use App\Models\Payment;
2016-04-30 17:54:56 -04:00
use Illuminate\Queue\SerializesModels;
/**
2017-01-30 21:40:43 +02:00
* Class PaymentCompleted.
*/
class PaymentCompleted extends Event
{
2016-04-30 17:54:56 -04:00
use SerializesModels;
/**
* @var Payment
*/
2016-04-30 17:54:56 -04:00
public $payment;
/**
* Create a new event instance.
*
* @param Payment $payment
2016-04-30 17:54:56 -04:00
*/
public function __construct(Payment $payment)
2016-04-30 17:54:56 -04:00
{
$this->payment = $payment;
}
}