ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
language_level.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
8 
9 return static function (ContainerConfigurator $containerConfigurator): void {
10  // We need the parameters to set e.g. the language level of PHP
11  $parameters = $containerConfigurator->parameters();
12  $parameters->set(Option::PHP_VERSION_FEATURES, PhpVersion::PHP_74);
13 };