19 declare(strict_types=1);
    41         return "Switch client names for export/import";
    58         $client_id = $environment->getResource(
Setup\Environment::RESOURCE_CLIENT_ID);
    60         $old_name = $this->path . DIRECTORY_SEPARATOR . 
$client_id;
    61         $new_name = $this->path . DIRECTORY_SEPARATOR . self::DEFAULT_CLIENT_ID;
    63         if ($environment->hasConfigFor(
Setup\CLI\InstallCommand::IMPORT)) {
    64             $old_name = $this->path . DIRECTORY_SEPARATOR . self::DEFAULT_CLIENT_ID;
    65             $new_name = $this->path . DIRECTORY_SEPARATOR . 
$client_id;
    68         rename($old_name, $new_name);
 
getPreconditions(Setup\Environment $environment)
 
isApplicable(Setup\Environment $environment)
 
__construct(string $path)
 
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. 
 
achieve(Setup\Environment $environment)