| 1 | <?php |
||
| 7 | class Period |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var \Marek\OpenWeatherMap\API\Value\Parameter\Input\DateTimeStart |
||
| 11 | */ |
||
| 12 | private $start; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var \Marek\OpenWeatherMap\API\Value\Parameter\Input\DateTimeEnd |
||
| 16 | */ |
||
| 17 | private $end; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Period constructor. |
||
| 21 | * |
||
| 22 | * @param \Marek\OpenWeatherMap\API\Value\Parameter\Input\DateTimeStart $start |
||
| 23 | * @param \Marek\OpenWeatherMap\API\Value\Parameter\Input\DateTimeEnd $end |
||
| 24 | */ |
||
| 25 | public function __construct(DateTimeStart $start, DateTimeEnd $end) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @return \Marek\OpenWeatherMap\API\Value\Parameter\Input\DateTimeStart |
||
| 33 | */ |
||
| 34 | public function getStart(): DateTimeStart |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return \Marek\OpenWeatherMap\API\Value\Parameter\Input\DateTimeEnd |
||
| 41 | */ |
||
| 42 | public function getEnd(): DateTimeEnd |
||
| 46 | } |
||
| 47 |