final class ZoneCreateOutcome (View source)

What ZoneCreateService made of one request: the created zone, or the refusal worded for the form.

Methods

created(int $zoneId, string $zoneName, ZoneSigningResult|null $dnssec = null, ShadowedRecords|null $shadowed = null)

No description

refused(string $message, string $zoneName = '')

No description

string|null
shadowedWarning()

The warning about hidden parent-zone records, null when there are none.

bool
isReverseZone()

No description

Details

static ZoneCreateOutcome created(int $zoneId, string $zoneName, ZoneSigningResult|null $dnssec = null, ShadowedRecords|null $shadowed = null)

No description

Parameters

int $zoneId
string $zoneName
ZoneSigningResult|null $dnssec
ShadowedRecords|null $shadowed

Return Value

ZoneCreateOutcome

static ZoneCreateOutcome refused(string $message, string $zoneName = '')

No description

Parameters

string $message
string $zoneName

Return Value

ZoneCreateOutcome

string|null shadowedWarning()

The warning about hidden parent-zone records, null when there are none.

Return Value

string|null

bool isReverseZone()

No description

Return Value

bool