27 lines
454 B
PHP
27 lines
454 B
PHP
|
<?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;
|
||
|
}
|
||
|
}
|