HelperSet getHelperSet() Get the helper set associated with the command. Return Value HelperSet The HelperSet instance associated with this command
string getName() Gets the name of the application. Return Value string The application name
string getLongVersion() Returns the long version of the application. Return Value string The long application version
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
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 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
string getHelp() Gets the help message. Return Value string A help message
InputDefinition getDefinition() Gets the InputDefinition related to this Application. Return Value InputDefinition The InputDefinition instance
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