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