ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilExerciseSetupAgent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21//namespace ILIAS\Exercise\Setup;
22
23use ILIAS\Setup;
26
31{
32 public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective
33 {
34 return new ObjectiveCollection(
35 'Database is updated for component/ILIAS/Exercise',
36 false,
38 );
39 }
40
41 public function getMigrations(): array
42 {
43 return [
50 ];
51 }
52}
A objective collection is a objective that is achieved once all subobjectives are achieved.
This class attempt to achieve a set of database update steps.
getUpdateObjective(?Setup\Config $config=null)
A configuration for the setup.
Definition: Config.php:27
An objective is a desired state of the system that is supposed to be created by the setup.
Definition: Objective.php:31
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...