ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ 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:33
ILIAS\UI\examples\Symbol\Glyph\Add\add
add()
description: > Example for rendring an add glyph.
Definition:
add.php:41
ILIAS\MetaData\Editor\Http\Command
Command
Definition:
Command.php:23
ILIAS\Component\EntryPoint
Definition:
Base.php:21
$c
$c
Definition:
deliver.php:25
ILIAS\Setup\CLI\App\__construct
__construct(Command ... $commands)
Definition:
App.php:37
ILIAS\Setup\CLI\App\getName
getName()
Definition:
App.php:46
ILIAS\Component\EntryPoint
An entrypoint is where the programm execution starts.
Definition:
EntryPoint.php:27
Application
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\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.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
Component
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
components
ILIAS
Setup
src
CLI
App.php
Generated on Sun Aug 31 2025 23:02:07 for ILIAS by
1.8.13 (using
Doxyfile
)