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

__construct(CommandRegistry $registry, resource $stdout, resource $stderr)

No description

int
run(array $argv)

No description

string
usage()

No description

Details

__construct(CommandRegistry $registry, resource $stdout, resource $stderr)

No description

Parameters

CommandRegistry $registry
resource $stdout
resource $stderr

int run(array $argv)

No description

Parameters

array $argv

The arguments without the script name

Return Value

int

string usage()

No description

Return Value

string