string getLongVersion() Returns the long version of the application. Return Value string The long application version
HelperSet getHelperSet() Get the helper set associated with the command. Return Value HelperSet The HelperSet instance associated with this command
KernelInterface getKernel() Gets the Kernel associated with this Console. Return Value KernelInterface A KernelInterface instance
Command find(string $name) Finds a command by name or alias. Contrary to get, this command tries to find the best match if you give it an abbreviation of a name or alias. Parameters string $name A command name or a command alias Return Value Command A Command instance Exceptions CommandNotFoundException When command name is incorrect or ambiguous
string getHelp() Gets the help message. Return Value string A help message
string findNamespace(string $namespace) Finds a registered namespace by a name or an abbreviation. Parameters string $namespace A namespace or abbreviation to search for Return Value string A registered namespace Exceptions CommandNotFoundException When namespace is incorrect or ambiguous
InputDefinition getDefinition() Gets the InputDefinition related to this Application. Return Value InputDefinition The InputDefinition instance
static array getAbbreviations(array $names) Returns an array of possible abbreviations given a set of names. Parameters array $names An array of names Return Value array An array of abbreviations
int doRun(InputInterface $input, OutputInterface $output) Runs the current application. Parameters InputInterface $input An Input instance OutputInterface $output An Output instance Return Value int 0 if everything went fine, or an error code
bool areExceptionsCaught() Gets whether to catch exceptions or not during commands execution. Return Value bool Whether to catch exceptions or not during commands execution
Page 750 of 787