ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilFileServicesSetupAgent.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
27
29{
30 #[\Override]
31 public function getInstallObjective(?Config $config = null): Objective
32 {
33 return new ObjectiveCollection(
34 "Check for several PHP-Extensions needed by FileServices.",
35 true,
37 new PHPExtensionLoadedCondition("imagick"),
41 )
42 );
43 }
44
45 #[\Override]
46 public function getUpdateObjective(?Config $config = null): Objective
47 {
48 return $this->getInstallObjective($config);
49 }
50}
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.
This class attempt to achieve a set of database update steps.
getUpdateObjective(?Config $config=null)
Get the goal the agent wants to achieve on update.
getInstallObjective(?Config $config=null)
Get the goals the agent wants to achieve on setup.
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