ynh_extension_meeo/libs/Note.lib.php

27 lines
454 B
PHP
Raw Normal View History

2024-07-13 18:39:43 +00:00
<?php
namespace YesWiki\Meeo;
class Note {
private $intitule;
private $note;
private $coef;
public function __construct(string $intitule, int $note, float $coef = 1.0) {
$this->intitule = $intitule;
$this->note = $note;
$this->coef = $coef;
}
public function getIntitule() {
return $this->intitule;
}
public function getNote() {
return $this->note;
}
public function getCoef() {
return $this->coef;
}
}