Modification chemin
This commit is contained in:
19
php/Classe/Spot.php
Normal file
19
php/Classe/Spot.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
|
||||
class Spot
|
||||
{
|
||||
private int $id;
|
||||
private string $nom;
|
||||
private Ville $ville;
|
||||
private MeteoSpot $meteo;
|
||||
private Pollution $pollution;
|
||||
|
||||
function __construct(int $id,string $nom,Ville $ville,Pollution $pollution,MeteoSpot $meteo){
|
||||
$this->id = $id;
|
||||
$this->nom = $nom;
|
||||
$this->ville = $ville;
|
||||
$this->pollution = $pollution;
|
||||
$this->meteo = $meteo;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user