Skip to content

Commit

Permalink
feat: add new method to support reinitialize item session
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfs7 committed Oct 4, 2023
1 parent fc93cab commit 1f819f2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/qtism/runtime/tests/AssessmentTestSession.php
Original file line number Diff line number Diff line change
Expand Up @@ -3061,6 +3061,16 @@ public function isNextRouteItemPredictible(): bool
return true;
}

/**
* In case of need to recreate item sessions after the route was created
*
* @param RouteItem $routeItem
*/
public function reinitializeAssessmentItemSession(RouteItem $routeItem): void
{
$this->initializeAssessmentItemSession($routeItem);
}

/**
* @param RouteItem $routeItem
*/
Expand Down

0 comments on commit 1f819f2

Please sign in to comment.