Class Symfony\Component\Console\Application

implements ResetInterface

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