19 declare(strict_types=1);
33 return hash(
"sha256", self::class);
38 return "Store configuration of Services/MathJax";
49 new \ilSettingsFactoryExistsObjective()
53 public function achieve(Setup\
Environment $environment): Setup\Environment
56 $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
58 $repo->
updateConfig($this->config->applyTo($repo->getConfig()));
63 public function isApplicable(Setup\
Environment $environment):
bool 66 $factory = $environment->getResource(Setup\Environment::RESOURCE_SETTINGS_FACTORY);
69 return $this->config->isApplicableTo($repo->getConfig());
ilMathJaxSetupConfig $config
__construct(\ilMathJaxSetupConfig $config)
getPreconditions(Setup\Environment $environment)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An environment holds resources to be used in the setup process.
updateConfig(ilMathJaxConfig $config)
Update the MathNax Configuration.
Repository for storing and loading the MathJax configuration.