| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 10 | abstract class QueueEvent implements StoppableEventInterface, JsonSerializable |
||
| 11 | { |
||
| 12 | protected array $payload = []; |
||
| 13 | |||
| 14 | 6 | public function __construct() |
|
| 15 | { |
||
| 16 | 6 | } |
|
| 17 | |||
| 18 | 1 | public function payload(): array |
|
| 19 | { |
||
| 20 | 1 | return $this->payload; |
|
| 21 | } |
||
| 22 | |||
| 23 | 1 | public function isPropagationStopped(): bool |
|
| 26 | } |
||
| 27 | |||
| 28 | 1 | public function jsonSerialize(): array |
|
| 33 |