| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | class SchedulerTaskExecutionFailedEvent extends SchedulerTaskEvent |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * @label Event/Scheduler/SchedulerTask:execution_failed.marker.exception |
||
| 31 | * @marker |
||
| 32 | * |
||
| 33 | * @var Throwable |
||
| 34 | */ |
||
| 35 | protected $exception; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param AbstractTask $task |
||
| 39 | * @param Throwable $exception |
||
| 40 | */ |
||
| 41 | public function run(AbstractTask $task, $exception) |
||
| 42 | { |
||
| 43 | $this->checkTaskFilter($task); |
||
| 44 | $this->fillTaskData($task); |
||
| 45 | |||
| 46 | $this->exception = $exception; |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @return array |
||
| 51 | */ |
||
| 52 | public function getExampleProperties() |
||
| 57 | ]; |
||
| 58 | } |
||
| 60 |