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