ILIAS
release_8 Revision v8.23
|
Wrapper around symfonies input and output facilities to provide just the functionality required for the ILIAS-setup. More...
Public Member Functions | |
__construct (InputInterface $in, OutputInterface $out) | |
startProgress (int $max) | |
advanceProgress () | |
stopProgress () | |
inform (string $message) | |
confirmExplicit (string $message, string $type_text_to_confirm) | |
confirmOrDeny (string $message) | |
printLicenseMessage () | |
title (string $title) | |
success (string $text) | |
error (string $text) | |
text (string $text) | |
startObjective (string $label, bool $is_notable) | |
finishedLastObjective () | |
failedLastObjective () | |
isVerbose () | |
Data Fields | |
const | LABEL_WIDTH = 75 |
const | ELLIPSIS = "..." |
Protected Member Functions | |
shouldSayYes () | |
outputInObjective () | |
showLastObjectiveLabel () | |
Protected Attributes | |
InputInterface | $in |
OutputInterface | $out |
SymfonyStyle | $style |
bool | $last_objective_was_notable = false |
string | $last_objective_label = "" |
bool | $output_in_objective = false |
Wrapper around symfonies input and output facilities to provide just the functionality required for the ILIAS-setup.
Definition at line 32 of file IOWrapper.php.
ILIAS\Setup\CLI\IOWrapper::__construct | ( | InputInterface | $in, |
OutputInterface | $out | ||
) |
Definition at line 44 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\$in, and ILIAS\Setup\CLI\IOWrapper\$out.
ILIAS\Setup\CLI\IOWrapper::advanceProgress | ( | ) |
Implements ILIAS\Setup\AdminInteraction.
Definition at line 57 of file IOWrapper.php.
ILIAS\Setup\CLI\IOWrapper::confirmExplicit | ( | string | $message, |
string | $type_text_to_confirm | ||
) |
Implements ILIAS\Setup\AdminInteraction.
Definition at line 73 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\inform(), ILIAS\Setup\CLI\IOWrapper\outputInObjective(), and ILIAS\Setup\CLI\IOWrapper\shouldSayYes().
ILIAS\Setup\CLI\IOWrapper::confirmOrDeny | ( | string | $message | ) |
Implements ILIAS\Setup\AdminInteraction.
Definition at line 88 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\inform(), ILIAS\Setup\CLI\IOWrapper\outputInObjective(), and ILIAS\Setup\CLI\IOWrapper\shouldSayYes().
ILIAS\Setup\CLI\IOWrapper::error | ( | string | $text | ) |
Definition at line 129 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\AchieveCommand\executeAchieveObjective(), and ILIAS\Setup\CLI\MigrateCommand\runMigration().
ILIAS\Setup\CLI\IOWrapper::failedLastObjective | ( | ) |
Definition at line 160 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\showLastObjectiveLabel(), and ILIAS\Setup\CLI\IOWrapper\startObjective().
ILIAS\Setup\CLI\IOWrapper::finishedLastObjective | ( | ) |
Definition at line 149 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\showLastObjectiveLabel(), and ILIAS\Setup\CLI\IOWrapper\startObjective().
ILIAS\Setup\CLI\IOWrapper::inform | ( | string | $message | ) |
Implements ILIAS\Setup\AdminInteraction.
Definition at line 67 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\outputInObjective().
Referenced by ILIAS\Setup\CLI\IOWrapper\confirmExplicit(), ILIAS\Setup\CLI\IOWrapper\confirmOrDeny(), ILIAS\Setup\CLI\MigrateCommand\listMigrations(), and ILIAS\Setup\CLI\MigrateCommand\runMigration().
ILIAS\Setup\CLI\IOWrapper::isVerbose | ( | ) |
Definition at line 187 of file IOWrapper.php.
|
protected |
Definition at line 172 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\showLastObjectiveLabel().
Referenced by ILIAS\Setup\CLI\IOWrapper\confirmExplicit(), ILIAS\Setup\CLI\IOWrapper\confirmOrDeny(), and ILIAS\Setup\CLI\IOWrapper\inform().
ILIAS\Setup\CLI\IOWrapper::printLicenseMessage | ( | ) |
Definition at line 101 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\shouldSayYes(), and ILIAS\Setup\CLI\IOWrapper\text().
|
protected |
Definition at line 114 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\IOWrapper\confirmExplicit(), ILIAS\Setup\CLI\IOWrapper\confirmOrDeny(), and ILIAS\Setup\CLI\IOWrapper\printLicenseMessage().
|
protected |
Definition at line 180 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\IOWrapper\failedLastObjective(), ILIAS\Setup\CLI\IOWrapper\finishedLastObjective(), ILIAS\Setup\CLI\IOWrapper\outputInObjective(), and ILIAS\Setup\CLI\IOWrapper\startObjective().
ILIAS\Setup\CLI\IOWrapper::startObjective | ( | string | $label, |
bool | $is_notable | ||
) |
Definition at line 139 of file IOWrapper.php.
References ILIAS\Setup\CLI\IOWrapper\showLastObjectiveLabel().
Referenced by ILIAS\Setup\CLI\IOWrapper\failedLastObjective(), and ILIAS\Setup\CLI\IOWrapper\finishedLastObjective().
ILIAS\Setup\CLI\IOWrapper::startProgress | ( | int | $max | ) |
Implements ILIAS\Setup\AdminInteraction.
Definition at line 52 of file IOWrapper.php.
ILIAS\Setup\CLI\IOWrapper::stopProgress | ( | ) |
Implements ILIAS\Setup\AdminInteraction.
Definition at line 62 of file IOWrapper.php.
ILIAS\Setup\CLI\IOWrapper::success | ( | string | $text | ) |
Definition at line 124 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\AchieveCommand\executeAchieveObjective().
ILIAS\Setup\CLI\IOWrapper::text | ( | string | $text | ) |
Definition at line 134 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\MigrateCommand\listMigrations(), ILIAS\Setup\CLI\IOWrapper\printLicenseMessage(), and ILIAS\Setup\CLI\MigrateCommand\runMigration().
ILIAS\Setup\CLI\IOWrapper::title | ( | string | $title | ) |
Definition at line 119 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\AchieveCommand\executeAchieveObjective(), and ILIAS\Setup\CLI\AchieveCommand\executeListNamedObjectives().
|
protected |
Definition at line 37 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\IOWrapper\__construct().
|
protected |
Definition at line 41 of file IOWrapper.php.
|
protected |
Definition at line 40 of file IOWrapper.php.
|
protected |
Definition at line 38 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\IOWrapper\__construct().
|
protected |
Definition at line 42 of file IOWrapper.php.
|
protected |
Definition at line 39 of file IOWrapper.php.
const ILIAS\Setup\CLI\IOWrapper::ELLIPSIS = "..." |
Definition at line 35 of file IOWrapper.php.
const ILIAS\Setup\CLI\IOWrapper::LABEL_WIDTH = 75 |
Definition at line 34 of file IOWrapper.php.
Referenced by ILIAS\Setup\CLI\AchieveCommand\executeListNamedObjectives().