芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/hocabayucatan.gob.mx/libraries/vendor/joomla/console/src/Command/ListCommand.php
setDescription("List the application's available commands"); $this->addArgument('namespace', InputArgument::OPTIONAL, 'The namespace name'); $this->setHelp(<<<'EOF' The
%command.name%
command lists all of the application's commands:
php %command.full_name%
EOF ); } /** * Internal function to execute the command. * * @param InputInterface $input The input to inject into the command. * @param OutputInterface $output The output to inject into the command. * * @return integer The command exit code * * @since 2.0.0 */ protected function doExecute(InputInterface $input, OutputInterface $output): int { $descriptor = new DescriptorHelper; if ($this->getHelperSet() !== null) { $this->getHelperSet()->set($descriptor); } $descriptor->describe( $output, $this->getApplication(), [ 'namespace' => $input->getArgument('namespace'), ] ); return 0; } }