57 throw new \LogicException(
"Not yet implemented.");
65 return $this->refinery->custom()->transformation(
function (
$data) {
66 $password = $this->refinery->to()->data(
"password");
67 $datetimezone = $this->refinery->to()->toNew(\DateTimeZone::class);
68 return new \ilSetupConfig(
71 $datetimezone->transform([
$data[
"server_timezone"] ??
"UTC"]),
72 $data[
"register_nic"] ??
false
86 "Complete common ILIAS objectives.",
104 "PHP memory limit >= " . self::PHP_MEMORY_LIMIT,
106 $limit = ini_get(
"memory_limit");
110 $expected = $this->data->dataSize(self::PHP_MEMORY_LIMIT);
111 $current = $this->data->dataSize($limit);
112 return $current->inBytes() >= $expected->inBytes();
114 "To properly execute ILIAS, please take care that the PHP memory limit is at least set to 128M."
An exception for terminatinating execution or to throw for unit testing.
A condition that can't be met by ILIAS itself needs to be met by some external means.
A non-objective, nothing to do to achieve it...
A objective collection is a objective that is achieved once all subobjectives are achieved.
A wrapper around an objective that adds some preconditions.
There seems to already exist an ILIAS installation, an interaction with it should be confirmed.
Contains common objectives for the setup.
getArrayToConfigTransformation()
getBuildArtifactObjective()
getInstallObjective(Setup\Config $config=null)
getUpdateObjective(Setup\Config $config=null)
getPHPMemoryLimitCondition()
__construct(Refinery\Factory $refinery, Data\Factory $data, \ilSetupPasswordManager $password_manager)
getConfigInput(Setup\Config $config=null)
Class ilSetupPasswordManager.
A agent is some component that performs part of the setup process.
A configuration for the setup.
An environment holds resources to be used in the setup process.
An objective is a desired state of the system that is supposed to be created by the setup.
A component is the most general form of an entity in the UI.