PHP lithium\console Namespace

Nested Namespaces

lithium\console\command

Сlasses

Name Description
Command The base class to inherit when writing console scripts in Lithium.
Dispatcher The `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.
Request The `Request` class reprents a console request and holds information about it's environment as well as passed arguments.
Response The `Response` class is used by other console classes to generate output. It contains stream resources for writing output and errors, as well as shell coloring information, and the response status code for the currently-executing command.
Router The `Router` class uses an instance of `lithium\console\Request`, which represents an incoming command-line invocation, to parse the correct command, and sub-command(s) and parameters, which are used by `lithium\console\Dispatcher` to load and execute the proper `Command` class.