Extends
lithium\core\StaticObjectThe `Dispatcher` is the outermost layer of the framework, responsible for both receiving the initial console request and returning back a response at the end of the request's life cycle.
The console dispatcher is responsible for accepting requests from scripts called from the command line, and executing the appropriate `Command` class(es). The `run()` method accepts an instance of `lithium\console\Request`, which encapsulates the console environment and any command-line parameters passed to the script. `Dispatcher` then invokes `lithium\console\Router` to determine the correct `Command` class to invoke, and which method should be called.