string getLongVersion() Returns the long version of the application. Return Value string The long application version
KernelInterface getKernel() Gets the Kernel associated with this Console. Return Value KernelInterface A KernelInterface instance
HelperSet getHelperSet() Get the helper set associated with the command. Return Value HelperSet The HelperSet instance associated with this command
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
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
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
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 extractNamespace(string $name, string $limit = null) Returns the namespace part of the command name. This method is not part of public API and should not be used directly. Parameters string $name The full name of the command string $limit The maximum number of parts of the namespace Return Value string The namespace of the command
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
Page 750 of 787