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