ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
App.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Setup\CLI
;
22
23
use Symfony\Component\Console\Application;
24
use
Symfony\Component\Console\Command\Command
;
25
use
ILIAS\Component\Component
;
26
use
ILIAS\Component\EntryPoint
;
27
33
class
App
extends
Application implements
EntryPoint
34
{
35
public
const
NAME
=
"The ILIAS Setup"
;
36
37
public
function
__construct
(
38
Command
...$commands
39
) {
40
parent::__construct
(self::NAME);
41
foreach
($commands as
$c
) {
42
$this->
add
($c);
43
}
44
}
45
46
public
function
getName
(): string
47
{
48
return
self::NAME
;
49
}
50
51
public
function
enter
():
int
52
{
53
return
$this->run();
54
}
55
}
ILIAS\Setup\CLI\App
The ILIAS-setup-console-application.
Definition:
App.php:34
ILIAS\Setup\CLI\App\__construct
__construct(Command ... $commands)
Definition:
App.php:37
ILIAS\Setup\CLI\App\enter
enter()
Pass program execution to this entry point.
Definition:
App.php:51
ILIAS\Setup\CLI\App\NAME
const NAME
Definition:
App.php:35
ILIAS\Setup\CLI\App\getName
getName()
Definition:
App.php:46
$c
$c
Definition:
deliver.php:25
ILIAS\Component\Component
Definition:
Component.php:24
ILIAS\Component\EntryPoint
An entrypoint is where the programm execution starts.
Definition:
EntryPoint.php:28
ILIAS\Component\EntryPoint
Definition:
Base.php:21
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Definition:
PluginProviderHelper.php:38
ILIAS\MetaData\Editor\Http\Command
Command
Definition:
Command.php:24
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ILIAS\Setup\CLI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
AchieveCommand.php:21
ILIAS\UI\examples\Symbol\Glyph\Add\add
add()
Definition:
add.php:41
components
ILIAS
Setup
src
CLI
App.php
Generated on Sat Oct 18 2025 23:02:28 for ILIAS by
1.9.4 (using
Doxyfile
)