Application::getLongVersion()

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

Application::getKernel()

KernelInterface getKernel() Gets the Kernel associated with this Console. Return Value KernelInterface A KernelInterface instance

Application::getHelperSet()

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

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::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::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::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::extractNamespace()

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

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