Application::getHelperSet()

HelperSet getHelperSet() Get the helper set associated with the command. Return Value HelperSet The HelperSet instance associated with this command

Application::getName()

string getName() Gets the name of the application. Return Value string The application name

Application::getLongVersion()

string getLongVersion() Returns the long version of the application. Return Value string The long application version

Application::getAbbreviations()

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

Application::find()

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

Application::findNamespace()

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

Application::getHelp()

string getHelp() Gets the help message. Return Value string A help message

Application::getDefinition()

InputDefinition getDefinition() Gets the InputDefinition related to this Application. Return Value InputDefinition The InputDefinition instance

Application::doRun()

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

Application::areExceptionsCaught()

bool areExceptionsCaught() Gets whether to catch exceptions or not during commands execution. Return Value bool Whether to catch exceptions or not during commands execution