33 lines
No EOL
569 B
PHP
33 lines
No EOL
569 B
PHP
<?php
|
|
|
|
namespace YesWiki\Meeo\Bulletin;
|
|
|
|
class Note {
|
|
private $intitule;
|
|
private $note;
|
|
private $coef;
|
|
private $max;
|
|
|
|
public function __construct(string $intitule, int $note, int $max, float $coef = 1.0) {
|
|
$this->intitule = $intitule;
|
|
$this->note = $note;
|
|
$this->coef = $coef;
|
|
$this->max = $max;
|
|
}
|
|
|
|
public function getIntitule() {
|
|
return $this->intitule;
|
|
}
|
|
|
|
public function getNote() {
|
|
return $this->note;
|
|
}
|
|
|
|
public function getCoef() {
|
|
return $this->coef;
|
|
}
|
|
|
|
public function getMax() {
|
|
return $this->max;
|
|
}
|
|
} |