| Total Complexity | 2 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | abstract class TestEvent extends BaseEvent |
||
| 10 | { |
||
| 11 | private StatusInterface $status; |
||
| 12 | |||
| 13 | public function __construct(StatusInterface $status) |
||
| 14 | { |
||
| 15 | parent::__construct( |
||
| 16 | "[{$status->getOutcome()->getExample()->getName()->getFullName()}] {$status->getContent()}" |
||
| 17 | ); |
||
| 18 | |||
| 19 | $this->status = $status; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getStatus(): StatusInterface |
||
| 25 | } |
||
| 26 | } |
||
| 27 |