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.
3.01-QCM_MuscuMaths/Website/classes/Chapter.php

25 lines
351 B

<?php
namespace classes;
class Chapter
{
private int $id;
private string $name;
public function __construct(int $id,string $name)
{
$this->id = $id;
$this->name = $name;
}
public function getId()
{
return $this->id;
}
public function getName()
{
return $this->name;
}
}