| Total Complexity | 6 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class OriginalBusinessQuery |
||
| 10 | { |
||
| 11 | private string $messageId; |
||
| 12 | |||
| 13 | private ?string $messageNameId = null; |
||
| 14 | |||
| 15 | private ?DateTimeImmutable $createdOn = null; |
||
| 16 | |||
| 17 | public function __construct(string $messageId) |
||
| 20 | } |
||
| 21 | |||
| 22 | public function getMessageId(): string |
||
| 23 | { |
||
| 24 | return $this->messageId; |
||
| 25 | } |
||
| 26 | 4 | ||
| 27 | public function getMessageNameId(): ?string |
||
| 28 | 4 | { |
|
| 29 | 4 | return $this->messageNameId; |
|
| 30 | } |
||
| 31 | 1 | ||
| 32 | public function setMessageNameId(string $messageNameId): self |
||
| 37 | } |
||
| 38 | 1 | ||
| 39 | public function setCreatedOn(DateTimeImmutable $createdOn): self |
||
| 44 | } |
||
| 45 | 4 | ||
| 46 | public function getCreatedOn(): ?DateTimeImmutable |
||
| 51 |