function __construct($idArtiste, $prenom, $nom, $collectif, $noInterne, $photoArtiste) { if (!isset(self::$database)) { self::$database = new PdoBDD(); } $this->idArtiste = $idArtiste; $this->prenom = $prenom; $this->nom = $nom; $this->collectif = $collectif; $this->noInterne = $noInterne; $this->photoArtiste = $photoArtiste; }