| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | final class BeforeSend implements StoppableEventInterface |
||
| 16 | { |
||
| 17 | private bool $stopPropagation = false; |
||
| 18 | |||
| 19 | public function __construct(private MessageInterface $message) |
||
| 20 | 15 | { |
|
| 21 | } |
||
| 22 | 15 | ||
| 23 | public function getMessage(): MessageInterface |
||
| 24 | { |
||
| 25 | 1 | return $this->message; |
|
| 26 | } |
||
| 27 | 1 | ||
| 28 | public function stopPropagation(): void |
||
| 31 | } |
||
| 32 | 2 | ||
| 33 | public function isPropagationStopped(): bool |
||
| 36 | } |
||
| 37 | } |
||
| 38 |