| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 7 | class PlatformUpdatesDocument extends Document |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var \DateTimeInterface |
||
| 11 | */ |
||
| 12 | private $date; |
||
| 13 | |||
| 14 | public function __construct(\DateTimeInterface $date, SplFileInfo $file, bool $isCatgory, string $baseUrl) |
||
| 15 | { |
||
| 16 | parent::__construct($file, $isCatgory, $baseUrl); |
||
| 17 | |||
| 18 | $this->date = $date; |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getDate(): \DateTimeInterface |
||
| 22 | { |
||
| 23 | return $this->date; |
||
| 24 | } |
||
| 26 |