| 1 | <?php |
||
| 8 | class DomainMessageAdapter |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var DomainMessage |
||
| 12 | */ |
||
| 13 | private $domainMessage; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * DomainMessageAdapter constructor. |
||
| 17 | * |
||
| 18 | * @param DomainMessage $domainMessage |
||
| 19 | */ |
||
| 20 | public function __construct(DomainMessage $domainMessage) |
||
| 24 | |||
| 25 | public function getUserId(): string |
||
| 30 | |||
| 31 | public function getRecordedDateTime(): ?DateTime |
||
| 35 | } |
||
| 36 |