invoiceninja/app/Events/PaymentWasCreated.php

28 lines
439 B
PHP
Raw Normal View History

2015-03-31 20:42:37 +03:00
<?php namespace App\Events;
use App\Models\Payment;
2015-03-31 20:42:37 +03:00
use Illuminate\Queue\SerializesModels;
/**
* Class PaymentWasCreated
*/
class PaymentWasCreated extends Event
{
2015-03-31 20:42:37 +03:00
use SerializesModels;
/**
* @var Payment
*/
2015-03-31 21:50:58 +03:00
public $payment;
/**
* Create a new event instance.
*
* @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
}