3 declare(strict_types=1);
    45         return "Confirm that an existing installation should be overwritten.";
    73         $admin_interaction = $environment->
getResource(
Setup\Environment::RESOURCE_ADMIN_INTERACTION);
    76             "An installation already seems to exist in this location. Using this command\n" .
    77             "might change your installation in unexpected ways. Also, the command might not\n" .
    78             "work as expected. Are you sure that you want to proceed anyway?";
    80         if (!$admin_interaction->confirmOrDeny($message)) {
    81             throw new Setup\NoConfirmationException($message);
    97         return file_exists(dirname(__DIR__, 4) . 
"/ilias.ini.php");
   102         return file_exists($this->
getClientDir() . 
"/client.ini.php");
   107         return dirname(__DIR__, 4) . 
"/public/data/" . ((string) $this->config->getClientId());
 
There seems to already exist an ILIAS installation, an interaction with it should be confirmed...
 
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g. 
 
isApplicable(Setup\Environment $environment)
 
achieve(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. 
 
getPreconditions(Setup\Environment $environment)