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.
27 lines
516 B
27 lines
516 B
<?php
|
|
class ListTask{
|
|
private int $id;
|
|
private array $taches;
|
|
|
|
function __construct($id, $taches) {
|
|
$this->id = $id;
|
|
$this->taches = $taches;
|
|
}
|
|
|
|
function get_id() {
|
|
return $this->id;
|
|
}
|
|
|
|
function set_id($id) {
|
|
$this->id = $id;
|
|
}
|
|
|
|
function get_taches() {
|
|
return $this->taches;
|
|
}
|
|
|
|
function set_taches($taches) {
|
|
$this->taches = $taches;
|
|
}
|
|
}
|
|
?>
|