27 lines
No EOL
463 B
PHP
27 lines
No EOL
463 B
PHP
<?php
|
|
|
|
namespace YesWiki\Meeo\Bulletin;
|
|
|
|
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;
|
|
}
|
|
} |