2 declare(strict_types = 1);
18 use Symfony\Component\Console\Application;
19 use Symfony\Component\Console\Command\Command;
20 use Symfony\Component\Console\Input\InputInterface;
21 use Symfony\Component\Console\Output\ConsoleOutput;
42 $this->application =
new Application(
'TYPO3 CMS', TYPO3_version);
63 $exitCode = $this->application->run($input,
$output);
94 $commands = GeneralUtility::makeInstance(CommandRegistry::class);
96 foreach ($commands as $commandName => $command) {
98 $this->application->add($command);