ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NoConfirmationException.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Setup;
22 
27 {
28  protected string $confirmation;
29 
30  public function __construct(string $confirmation, ...$rest)
31  {
32  parent::__construct(...$rest);
33  $this->confirmation = $confirmation;
34  }
35 
36  public function getRequestedConfirmation(): string
37  {
38  return $this->confirmation;
39  }
40 }
Signals that the setup is not executable at all.
confirmation()
description: > Example for rendering a confirmation message box.
__construct(string $confirmation,... $rest)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
Signals that a necessary confirmation from the admin is missing.