final class ZoneShowCommand implements CommandInterface (View source)

zone:show <id|name> - the records of one zone, one row per record, in the order the web zone editor shows them. The actor needs the same view permission as for opening the zone in the browser; a refusal exits 1.

Constants

NAME

COLUMNS

Methods

__construct(PermissionService $permissionService, DomainRepositoryInterface $domainRepository, RecordListingInterface $records)

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, RecordListingInterface $records)

No description

Parameters

PermissionService $permissionService
DomainRepositoryInterface $domainRepository
RecordListingInterface $records

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