Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
ShortcutSubCategoryLv2Observer | |
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\ShortcutSubCategoryLv2; |
6 | use App\Jobs\ProcessSubCategoryLv2AsyncJob; |
7 | |
8 | class ShortcutSubCategoryLv2Observer |
9 | { |
10 | public function created(ShortcutSubCategoryLv2 $shortcutCategory): void |
11 | { |
12 | ProcessSubCategoryLv2AsyncJob::dispatch($shortcutCategory, 'created'); |
13 | } |
14 | } |