18 declare(strict_types=1);
    37         return "flavour_data";
    47         foreach ($finder->getMatchingClassNames(FlavourMachine::class) as $machine_name) {
    49             $machine = 
new $machine_name();
    50             $machine_id = $machine->getId();
    52             if ($machine_name === $machine_id) {
    54                     "PLEASE beware that class-related magic constants are not recommended. Altering the implementation-name may result in lost flavours."    58             if (64 < strlen($machine_id)) {
    59                 throw new LogicException(
"ID of machine '$machine_name' exceeds 64 characters.");
    62             if (isset($machines[$machine_id]) && $machines[$machine_id] !== $machine_name) {
    64                     "Machine '$default_machine_ids[$machine_id]' and '$machine_name' implement the same ID ($machine_id)."    68             $machines[$machine_id] = $machine_name;
    73         foreach ($finder->getMatchingClassNames(FlavourDefinition::class) as $definition_name) {
    79                 $definition = $reflection->newInstanceWithoutConstructor();
    80                 $definition_id = $definition->getId();
    86             if ($definition_name === $definition_id) {
    88                     "PLEASE beware that class-related magic constants are not recommended. Altering the implementation-name may result in lost flavours."    92             if (64 < strlen($definition_id)) {
    93                 throw new LogicException(
"ID of definition '$definition_name' exceeds 64 characters.");
    96             if (isset($definitions[$definition_id]) && $definitions[$definition_id] !== $definition_name) {
    98                     "Definition '$definitions[$definition_id]' and '$definition_name' implement the same ID ($definition_id)."   102             $definitions[$definition_id] = $definition_name;
   106             'machines' => $machines,
   107             'definitions' => $definitions
 
build()
Build the artifact based. 
 
This is an objective to build some artifact. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
An artifact is some file that is build on demand per installation and is not shipped with the ILIAS s...