ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
SetupAgent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\StaticURL;
22
29
33class SetupAgent extends NullAgent implements Agent
34{
35 #[\Override]
36 public function getUpdateObjective(?Config $config = null): Objective
37 {
38 return new ObjectiveCollection(
39 'Static URL Services',
40 true,
42 'stus',
43 '__StaticURLServiceAdministration'
44 ),
47 )
48 );
49 }
50
51}
An agent that just doesn't do a thing.
Definition: NullAgent.php:35
A objective collection is a objective that is achieved once all subobjectives are achieved.
getUpdateObjective(?Config $config=null)
Get the goal the agent wants to achieve on update.
Definition: SetupAgent.php:36
This class attempt to achieve a set of database update steps.
A agent is some component that performs part of the setup process.
Definition: Agent.php:30
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...