1<?php
2class SomeClass extends \DatePeriod {
3	public ?DateTimeInterface $current;
4
5	public function __construct(int $v) {
6		parent::__construct(new \DateTime('2020-12-31'), new \DateInterval("P1Y"), 1);
7		$this->current = $v;
8		var_dump($this->current);
9	}
10}
11