You are here

public function ILTResult::setScore in Opigno Instructor-led Trainings 8

Same name and namespace in other branches
  1. 3.x src/Entity/ILTResult.php \Drupal\opigno_ilt\Entity\ILTResult::setScore()

Sets the user score.

Parameters

int $value: The user score.

Return value

$this

Overrides ILTResultInterface::setScore

File

src/Entity/ILTResult.php, line 140

Class

ILTResult
Defines the ILT Result entity.

Namespace

Drupal\opigno_ilt\Entity

Code

public function setScore($value) {
  $this
    ->set('score', $value);
  return $this;
}