1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/app/Events/PaymentWasCreated.php

28 lines
439 B
PHP
Raw Normal View History

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