[ Index ]

PHP Cross Reference of phpBB-3.3.0-deutsch

title

Body

[close]

/phpbb/console/ -> application.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 153 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

application:: (6 methods):
  __construct()
  getDefaultInputDefinition()
  getHelp()
  register_container_commands()
  doRun()
  register_global_options()


Class: application  - X-Ref

__construct($name, $version, \phpbb\language\language $language)   X-Ref

param: string                        $name        The name of the application
param: string                        $version    The version of the application
param: \phpbb\language\language    $language    The user which runs the application (used for translation)

getDefaultInputDefinition()   X-Ref
{@inheritdoc}


getHelp()   X-Ref
Gets the help message.

It's a hack of the default help message to display the --shell
option only for the application and not for all the commands.

return: string A help message.

register_container_commands(\phpbb\di\service_collection $command_collection)   X-Ref
Register a set of commands from the container

param: \phpbb\di\service_collection    $command_collection    The console service collection

doRun(InputInterface $input, OutputInterface $output)   X-Ref
{@inheritdoc}


register_global_options(InputDefinition $definition)   X-Ref
Register global options

param: InputDefinition $definition An InputDefinition instance



Generated: Tue Apr 7 19:44:41 2020 Cross-referenced by PHPXref 0.7.1