Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
FlyGrammarActionsObserver | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
created | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
updated | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace App\Observers; |
4 | |
5 | use App\Http\Models\FlyGrammarActions; |
6 | use App\Jobs\ProcessFlyGrammarActionsAsyncJob; |
7 | |
8 | class FlyGrammarActionsObserver |
9 | { |
10 | public function created(FlyGrammarActions $flyGrammarAction): void |
11 | { |
12 | ProcessFlyGrammarActionsAsyncJob::dispatch($flyGrammarAction); |
13 | } |
14 | |
15 | public function updated(FlyGrammarActions $flyGrammarAction): void |
16 | { |
17 | ProcessFlyGrammarActionsAsyncJob::dispatch($flyGrammarAction); |
18 | } |
19 | } |