ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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 
4 namespace ILIAS\Setup\CLI;
5 
8 
14 class 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 }
The ILIAS-setup-console-application.
Definition: App.php:14
$c
Definition: cli.php:37
add()
Definition: add.php:2
__construct(Command ... $commands)
Definition: App.php:18
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)