akaunting/app/Events/Banking/TransactionCreated.php

22 lines
368 B
PHP
Raw Normal View History

2020-03-11 22:16:52 +03:00
<?php
namespace App\Events\Banking;
2020-11-21 20:24:42 +03:00
use App\Abstracts\Event;
2022-06-01 10:15:55 +03:00
use App\Models\Banking\Transaction;
2020-03-11 22:16:52 +03:00
2020-11-21 20:24:42 +03:00
class TransactionCreated extends Event
2020-03-11 22:16:52 +03:00
{
public $transaction;
/**
* Create a new event instance.
*
* @param $transaction
*/
2022-06-01 10:15:55 +03:00
public function __construct(Transaction $transaction)
2020-03-11 22:16:52 +03:00
{
$this->transaction = $transaction;
}
}