ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
class.ilPollSetupAgent.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 
28 {
29  public function getUpdateObjective(Config $config = null): Objective
30  {
31  return new ObjectiveCollection(
32  'Poll',
33  false,
35  );
36  }
37 
38  public function getMigrations(Config $config = null): array
39  {
40  return [
41  new \ilPollImagesMigration()
42  ];
43  }
44 }
A objective collection is a objective that is achieved once all subobjectives are achieved...
An agent that just doesn&#39;t do a thing.
Definition: NullAgent.php:34
An objective is a desired state of the system that is supposed to be created by the setup...
Definition: Objective.php:30
getUpdateObjective(Config $config=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getMigrations(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