added account events
This commit is contained in:
25
app/Events/Banking/AccountUpdating.php
Normal file
25
app/Events/Banking/AccountUpdating.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events\Banking;
|
||||
|
||||
use App\Abstracts\Event;
|
||||
use App\Models\Banking\Account;
|
||||
|
||||
class AccountUpdating extends Event
|
||||
{
|
||||
public $account;
|
||||
|
||||
public $request;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param $account
|
||||
* @param $request
|
||||
*/
|
||||
public function __construct(Account $account, $request)
|
||||
{
|
||||
$this->account = $account;
|
||||
$this->request = $request;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user