/** * @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); }
/** * @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); }