Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| ExceptionOccurred | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Events; |
| 4 | |
| 5 | use App\LogLevelEnum; |
| 6 | use Illuminate\Foundation\Events\Dispatchable; |
| 7 | use Illuminate\Queue\SerializesModels; |
| 8 | use Throwable; |
| 9 | |
| 10 | class ExceptionOccurred |
| 11 | { |
| 12 | use Dispatchable, SerializesModels; |
| 13 | |
| 14 | public function __construct( |
| 15 | public Throwable $exception, |
| 16 | public LogLevelEnum $level, |
| 17 | public string $message, |
| 18 | /** @var array<string, mixed> */ |
| 19 | public array $context = [] |
| 20 | ) { |
| 21 | } |
| 22 | } |