コード例 #1
0
ファイル: Manager.php プロジェクト: scdevsummit/phpsc-conf
 /**
  * @param TalkEvaluation $evaluation
  * @param int $originalityPoint
  * @param int $relevancePoint
  * @param int $technicalQualityPoint
  * @param string $notes
  * @return TalkEvaluation
  */
 public function update(TalkEvaluation $evaluation, $originalityPoint, $relevancePoint, $technicalQualityPoint, $notes)
 {
     $evaluation->setOriginalityPoint($originalityPoint);
     $evaluation->setRelevancePoint($relevancePoint);
     $evaluation->setTechnicalQualityPoint($technicalQualityPoint);
     $evaluation->setNotes($notes);
     $this->repository->update($evaluation);
 }
コード例 #2
0
ファイル: Locator.php プロジェクト: scdevsummit/phpsc-conf
 /**
  * @param Talk $talk
  * @param User $evaluator
  * @return array<\PHPSC\Conference\Domain\Entity\TalkEvaluation>
  */
 public function search(Talk $talk = null, User $evaluator = null)
 {
     return $this->repository->search($talk, $evaluator);
 }