NDI-2020/php/Classe/MeteoVille.php

17 lines
275 B
PHP
Raw Permalink Normal View History

2020-12-04 01:22:13 +01:00
<?php
class MeteoVille
{
private int $id;
private int $temperature;
private int $vent;
2020-12-04 02:52:32 +01:00
public function __construct(int $id,int $temperature,int $vent)
{
$this->id=$id;
$this->temperature=$temperature;
$this->vent=$vent;
}
2020-12-04 01:22:13 +01:00
}