interface CommandInterface (View source)

One bin/poweradmin command. The metadata is static so the registry can print usage and validate options before the service graph is booted.

Methods

static string
name()

No description

static string
description()

No description

static array
options()

The command-level option names accepted next to the global ones.

int
run(Arguments $arguments, ActorInterface $actor, resource $stdout, resource $stderr)

No description

Details

static string name()

No description

Return Value

string

static string description()

No description

Return Value

string

static array options()

The command-level option names accepted next to the global ones.

Return Value

array

int run(Arguments $arguments, ActorInterface $actor, resource $stdout, resource $stderr)

No description

Parameters

Arguments $arguments
ActorInterface $actor
resource $stdout
resource $stderr

Return Value

int

Exceptions

InvalidArgumentException