ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
App.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Cron\CLI;
22 
25 
26 class App extends Application
27 {
28  public const string NAME = 'The ILIAS cron job script';
29 
30  public function __construct(Command ...$commands)
31  {
32  parent::__construct(self::NAME);
33  foreach ($commands as $c) {
34  $this->add($c);
35  }
36  }
37 }
add()
description: > Example for rendring an add glyph.
Definition: add.php:41
$c
Definition: deliver.php:25
__construct(Command ... $commands)
Definition: App.php:30
__construct(Container $dic, ilPlugin $plugin)
const string NAME
Definition: App.php:28