final class ZoneOwnershipInputFactory (View source)

Reads the owner fields of a decoded zone creation body into the typed input ZoneCreateOwnershipResolver takes; a value of the wrong shape is refused with the same wording and status the resolver used to give.

Methods

fromJsonBody(array $body)

No description

Details

static ZoneOwnershipInput|ZoneOwnershipResolution fromJsonBody(array $body)

No description

Parameters

array $body

Decoded JSON body of POST /zones

Return Value

ZoneOwnershipInput|ZoneOwnershipResolution