ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.ilExerciseSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 //namespace ILIAS\Exercise\Setup;
22 
23 use ILIAS\Setup;
24 
28 class ilExerciseSetupAgent extends Setup\Agent\NullAgent
29 {
30  public function getUpdateObjective(Setup\Config $config = null): Setup\Objective
31  {
32  return new \ilDatabaseUpdateStepsExecutedObjective(new \ILIAS\Exercise\Setup\ilExerciseDBUpdateSteps());
33  }
34 
35  public function getMigrations(): array
36  {
37  return [
42  ];
43  }
44 }
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
Class ChatMainBarProvider .
getUpdateObjective(Setup\Config $config=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
A configuration for the setup.
Definition: Config.php:26