class Application
An Application is the container for a collection of commands. It is the main entry point of a Console application. This class is optimized for a standard CLI environment. Usage: $app = new Application('myapp', '1.0 (stable)');
$app->add(new SimpleCommand());
$app->run();
Methods
__construct(string $name = 'UNKNOWN', string $version = 'UNKNOWN') Constructor.
setDispatcher(EventDispatcherInterface $dispatcher)
int run(InputInterface $input = null, Output