ZoneTemplateWriteResult
final class ZoneTemplateWriteResult (View source)
Outcome of a zone template write. Callers read the reason and the refusal from here instead of the session; a success may still carry a warning.
Methods
static ZoneTemplateWriteResult
ok(string|null $warning = null)
No description
static ZoneTemplateWriteResult
failure(string $message, Refusal $refusal = Refusal::INVALID_INPUT)
No description
static ZoneTemplateWriteResult
forbidden(string $message)
No description
static ZoneTemplateWriteResult
backendFailure(string $message)
No description
Details
static ZoneTemplateWriteResult
ok(string|null $warning = null)
No description
static ZoneTemplateWriteResult
failure(string $message, Refusal $refusal = Refusal::INVALID_INPUT)
No description
static ZoneTemplateWriteResult
forbidden(string $message)
No description
static ZoneTemplateWriteResult
backendFailure(string $message)
No description