| 1 | <?php  | 
            ||
| 9 | class DateTimeView implements ViewInterface  | 
            ||
| 10 | { | 
            ||
| 11 | private $dateTime;  | 
            ||
| 12 | private $formatted;  | 
            ||
| 13 | private $tag;  | 
            ||
| 14 | |||
| 15 | public function __construct(string $formatted, \DateTime $dateTime, string $tag = null)  | 
            ||
| 21 | |||
| 22 | public function getTag(): string  | 
            ||
| 26 | |||
| 27 | public function getFormatted(): string  | 
            ||
| 31 | |||
| 32 | public function getDateTime(): \DateTime  | 
            ||
| 36 | }  | 
            ||
| 37 |