final class RecordDeletionOutcome (View source)

Outcome of deleting a record together with its reverse counterpart.

The candidate flags say whether the record was of a kind that can have a counterpart (A/AAAA for a PTR, PTR for an A/AAAA) with reverse handling switched on; the deleted flags say whether one was found and removed.

Methods

deleted(bool $ptrCandidate, bool $ptrDeleted, bool $forwardCandidate, bool $forwardDeleted)

No description

notFound(string $message)

No description

failed(string $message)

No description

Details

static RecordDeletionOutcome deleted(bool $ptrCandidate, bool $ptrDeleted, bool $forwardCandidate, bool $forwardDeleted)

No description

Parameters

bool $ptrCandidate
bool $ptrDeleted
bool $forwardCandidate
bool $forwardDeleted

Return Value

RecordDeletionOutcome

static RecordDeletionOutcome notFound(string $message)

No description

Parameters

string $message

Return Value

RecordDeletionOutcome

static RecordDeletionOutcome failed(string $message)

No description

Parameters

string $message

Return Value

RecordDeletionOutcome