<?php class Race { private $nom; private $prix_intervention; public function nom() { return $this->nom; } public function setNom($nom) { $this->nom = $nom; } public function prix_consult() { return $this->prix_intervention; } public function setPrix_intervention($prix_intervention) { $this->prix_intervention = $prix_intervention; } }