19 declare(strict_types=1);
29 ?
string $max_version = null,
33 "PHP version >= $min_version and <= $max_version",
34 static function (Setup\
Environment $env) use ($min_version, $max_version):
bool {
35 return version_compare(phpversion(), $min_version,
">=")
36 && ($max_version !== null && version_compare(phpversion(), $max_version,
"<="));
const ILIAS_VERSION_NUMERIC
__construct(string $min_version, ?string $max_version=null, bool $block_setup=false)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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.
__construct(Container $dic, ilPlugin $plugin)
A condition that can't be met by ILIAS itself needs to be met by some external means.