setCatchExceptions(bool $boolean) Sets whether to catch exceptions or not during commands execution. Parameters bool $boolean Whether to catch exceptions or not during commands execution
setDefinition(InputDefinition $definition) Set an input definition to be used with this application. Parameters InputDefinition $definition The input definition
string getVersion() Gets the application version. Return Value string The application version
array getTerminalDimensions() Tries to figure out the terminal dimensions based on the current environment. Return Value array Array containing width and height
Command register(string $name) Registers a new command. Parameters string $name The command name Return Value Command The newly created command
renderException(Exception $e, OutputInterface $output) Renders a caught exception. Parameters Exception $e An exception instance OutputInterface $output An OutputInterface instance
bool isAutoExitEnabled() Gets whether to automatically exit after a command execution or not. Return Value bool Whether to automatically exit after a command execution or not
bool has(string $name) Returns true if the command exists, false otherwise. Parameters string $name The command name or alias Return Value bool true if the command exists, false otherwise
string getLongVersion() Returns the long version of the application. Return Value string The long application version
string getName() Gets the name of the application. Return Value string The application name
Page 749 of 787