Loan Order
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace App\Events;
|
||||
|
||||
use Laravel\Nova\Actions\ActionEvent;
|
||||
|
||||
class EventType
|
||||
{
|
||||
/**
|
||||
@@ -56,9 +58,27 @@ class EventType
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Laravel nova events
|
||||
*/
|
||||
public static function laravelNovaEvents(): array
|
||||
{
|
||||
return [
|
||||
self::laravelNovaActionEvent(),
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Laravel nova action event
|
||||
*/
|
||||
public static function laravelNovaActionEvent(): string
|
||||
{
|
||||
return ActionEvent::class;
|
||||
}
|
||||
|
||||
/**
|
||||
* Guest the event
|
||||
* @param object $event
|
||||
* @param string|object $event
|
||||
*/
|
||||
public static function guessEvent(string|object $event): string
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user