application
class application extends Application
Properties
protected bool | $in_shell | ||
protected config | $config | ||
protected language | $language |
Methods
getDefaultInputDefinition()
{@inheritdoc}
string
getHelp()
Gets the help message.
register_container_commands(service_collection $command_collection)
Register a set of commands from the container
doRun(InputInterface $input, OutputInterface $output)
{@inheritdoc}
register_global_options(InputDefinition $definition)
Register global options
Details
at line 45
__construct(string $name, string $version, language $language, config $config)
No description
at line 56
protected
getDefaultInputDefinition()
{@inheritdoc}
at line 73
string
getHelp()
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.
at line 105
register_container_commands(service_collection $command_collection)
Register a set of commands from the container
at line 124
doRun(InputInterface $input, OutputInterface $output)
{@inheritdoc}
at line 145
protected
register_global_options(InputDefinition $definition)
Register global options