NDI-2020/php/Classe/Pollution.php

15 lines
317 B
PHP
Raw Permalink Normal View History

2020-12-04 01:31:37 +01:00
<?php
class Pollution
{
private int $id;
private int $niveauPollution;
private string $description;
2020-12-04 02:47:09 +01:00
2020-12-04 03:19:36 +01:00
function __construct(int $id,int $niveauPollution,string $description){
2020-12-04 02:47:09 +01:00
$this->id = $id;
$this->niveauPollution = $niveauPollution;
$this->description = $description;
}
2020-12-04 01:31:37 +01:00
}