| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class Line implements LineInterface |
||
| 12 | { |
||
| 13 | protected JsonSerializable $payload; |
||
| 14 | |||
| 15 | 6 | /** |
|
| 16 | * @param array<mixed> $options |
||
| 17 | 6 | * |
|
| 18 | 6 | * @phpstan-ignore-next-line |
|
| 19 | */ |
||
| 20 | public function __construct(ActionableMessageInterface $payload, array $options) |
||
| 21 | { |
||
| 22 | $this->payload = $payload; |
||
| 23 | 6 | } |
|
| 24 | |||
| 25 | 6 | public function __toString(): string |
|
| 28 | } |
||
| 29 | |||
| 30 | public function getPayload(): JsonSerializable |
||
| 33 | 2 | } |
|
| 34 | } |
||
| 35 |