Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
ShortcutSubCategoryLv1Observer | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
created | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace App\Observers; |
4 | |
5 | use App\Http\Models\ShortcutSubCategoryLv1; |
6 | use App\Jobs\ProcessSubCategoryLv1AsyncJob; |
7 | |
8 | class ShortcutSubCategoryLv1Observer |
9 | { |
10 | public function created(ShortcutSubCategoryLv1 $shortcutCategory): void |
11 | { |
12 | ProcessSubCategoryLv1AsyncJob::dispatch($shortcutCategory, 'created'); |
13 | } |
14 | } |