final class ZoneListCommand implements CommandInterface (View source)

zone:list - the zones the actor may view, one row per zone.

Visibility follows the web zone list: the actor's view level narrows the rows to owned zones (directly or through a group); an ueberuser sees all.

Constants

NAME

COLUMNS

HEADER

Methods

__construct(PermissionService $permissionService, DomainRepositoryInterface $domainRepository)

No description

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

__construct(PermissionService $permissionService, DomainRepositoryInterface $domainRepository)

No description

Parameters

PermissionService $permissionService
DomainRepositoryInterface $domainRepository

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