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
82 return new Setup\ObjectiveWithPreconditions(
86 "Complete common ILIAS objectives.",
103 return new Setup\ExternalConditionObjective(
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." 123 return new Setup\NullObjective();
131 return new Setup\NullObjective();
A objective collection is a objective that is achieved once all subobjectives are achieved...
Contains common objectives for the setup.
getPHPMemoryLimitCondition()
getArrayToConfigTransformation()
An objective is a desired state of the system that is supposed to be created by the setup...
getUpdateObjective(Setup\Config $config=null)
There seems to already exist an ILIAS installation, an interaction with it should be confirmed...
getInstallObjective(Setup\Config $config=null)
getConfigInput(Setup\Config $config=null)
getBuildArtifactObjective()
An environment holds resources to be used in the setup process.
A configuration for the setup.
__construct(Refinery\Factory $refinery, Data\Factory $data, \ilSetupPasswordManager $password_manager)
Class ilSetupPasswordManager.