ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
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 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 }
__construct(Command ... $commands)
Definition: App.php:30
__construct(VocabulariesInterface $vocabularies)
const NAME
Definition: App.php:28