ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
App.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 2016 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
3
5
6use Symfony\Component\Console\Application;
7use Symfony\Component\Console\Command\Command;
8
14class App extends Application
15{
16 const NAME = "The ILIAS Setup";
17
18 public function __construct(Command ...$commands)
19 {
20 parent::__construct(self::NAME);
21 foreach ($commands as $c) {
22 $this->add($c);
23 }
24 }
25}
add()
Definition: add.php:2
An exception for terminatinating execution or to throw for unit testing.
The ILIAS-setup-console-application.
Definition: App.php:15
__construct(Command ... $commands)
Definition: App.php:18
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc