2015-03-31 19:42:37 +02:00
|
|
|
<?php namespace App\Events;
|
|
|
|
|
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
use App\Models\Credit;
|
2015-03-31 19:42:37 +02:00
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
/**
|
|
|
|
* Class CreditWasRestored
|
|
|
|
*/
|
2015-10-28 20:22:07 +01:00
|
|
|
class CreditWasRestored extends Event {
|
2015-03-31 19:42:37 +02:00
|
|
|
|
|
|
|
use SerializesModels;
|
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
/**
|
|
|
|
* @var Credit
|
|
|
|
*/
|
2015-10-28 20:22:07 +01:00
|
|
|
public $credit;
|
2016-07-03 18:11:58 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
|
|
|
|
|
|
}
|