contructeur
This commit is contained in:
@@ -11,4 +11,17 @@ class Pointage
|
||||
private int $bateauVoile;
|
||||
private Produits $produit;
|
||||
private int $niveauDechet;
|
||||
|
||||
|
||||
public function __construct(int $id,int $nbBaigneur,int $nbPratiquant,int $bateauPeche, int $bateauLoisir,int $bateauVoile, Produits $produit,int $niveauDechet)
|
||||
{
|
||||
$this->id=$id;
|
||||
$this->nbBaigneur=$nbBaigneur;
|
||||
$this->nbPratiquant=$nbPratiquant;
|
||||
$this->bateauPeche=$bateauPeche;
|
||||
$this->bateauLoisir=$bateauLoisir;
|
||||
$this->bateauVoile=$bateauVoile;
|
||||
$this->produit=$produit;
|
||||
$this->niveauDechet=$niveauDechet;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user