You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ScienceQuest/project/src/model/metier/Difficulte.php

33 lines
514 B

<?php
namespace model;
class Difficulte
{
private int $id;
private string $libelle;
/**
* @param int $id
* @param string $libelle
*/
public function __construct(int $id, string $libelle)
{
$this->id=$id;
$this->libelle=$libelle;
}
/**
* @return int
*/
public function getId(): int{
return $this->id;
}
/**
* @return string
*/
public function getLibelle(): string{
return $this->libelle;
}
}