Paaxio 1.0
Plateforme de streaming musical - SAE IUT Bayonne
Chargement...
Recherche...
Aucune correspondance
genre.class.php
Aller à la documentation de ce fichier.
1<?php
7class Genre {
11 private int|null $idGenre;
12
16 private string|null $nomGenre;
17
23 public function __construct(?int $idGenre = null, ?string $nomGenre = null) {
24 $this->idGenre = $idGenre;
25 $this->nomGenre = $nomGenre;
26 }
27
28
29
33 public function getIdGenre(): ?int
34 {
35 return $this->idGenre;
36 }
37
42 public function setIdGenre(?int $idGenre): void
43 {
44 $this->idGenre = $idGenre;
45 }
46
50 public function getNomGenre(): ?string
51 {
52 return $this->nomGenre;
53 }
54
59 public function setNomGenre(?string $nomGenre): void
60 {
61 $this->nomGenre = $nomGenre;
62 }
63}
string null $nomGenre
setIdGenre(?int $idGenre)
Set the value of idGenre.
setNomGenre(?string $nomGenre)
Set the value of nomGenre.
__construct(?int $idGenre=null, ?string $nomGenre=null)
Constructeur de la classe Genre.
getIdGenre()
Get the value of idGenre.
int null $idGenre
getNomGenre()
Get the value of nomGenre.