1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00
invoiceninja/app/Events/CreditWasCreated.php

27 lines
398 B
PHP
Raw Normal View History

2017-01-30 20:40:43 +01:00
<?php
namespace App\Events;
2015-03-31 19:42:37 +02:00
use App\Models\Credit;
2015-03-31 19:42:37 +02:00
use Illuminate\Queue\SerializesModels;
class CreditWasCreated extends Event
{
use SerializesModels;
2015-03-31 19:42:37 +02:00
/**
* @var Credit
*/
2015-10-28 20:22:07 +01:00
public $credit;
/**
* Create a new event instance.
*
* @param Credit $credit
*/
public function __construct(Credit $credit)
2015-03-31 20:50:58 +02:00
{
2015-10-28 20:22:07 +01:00
$this->credit = $credit;
2015-03-31 20:50:58 +02:00
}
2015-03-31 19:42:37 +02:00
}