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.
32 lines
590 B
32 lines
590 B
<?php
|
|
|
|
Class Tache {
|
|
private int $id;
|
|
private string $intitule;
|
|
private boolean $isCompleted;
|
|
private int $idListe;
|
|
|
|
function __construct(int $i, string $in, boolean $is){
|
|
$this->id = $i;
|
|
$this->intitule = $in;
|
|
$this->isCompleted = $is;
|
|
}
|
|
|
|
function get_id(): int {
|
|
return $this->id;
|
|
}
|
|
|
|
function get_intitule(): string {
|
|
return $this->intitule;
|
|
}
|
|
|
|
function get_isCompleted(): boolean {
|
|
return $this->isCompleted;
|
|
}
|
|
|
|
function get_idListe(): string {
|
|
return $this->idListe;
|
|
}
|
|
}
|
|
|
|
?>
|