ConsoleApplication
final class ConsoleApplication (View source)
The bin/poweradmin entry point: parses the command line, boots the same service graph the web controllers use (without a session) and runs one registered command as an explicitly named actor.
Constants
| EXIT_OK |
|
| EXIT_USAGE |
|
| EXIT_CONFIG |
|
| private GLOBAL_OPTIONS |
|
| private OPTION_USAGE |
How each command-level option is spelled in the usage text |
Methods
Details
__construct(CommandRegistry $registry, resource $stdout, resource $stderr)
No description
int
run(array $argv)
No description
string
usage()
No description