final class ZoneLimitInput (View source)

Reads a submitted zone limit: empty clears the own limit (the configured default applies), a whole number of 0 or more sets it.

Methods

static array
fromForm(mixed $value)

From a web form field.

static array
fromJson(mixed $value)

From a JSON body: null or a non-negative integer.

Details

static array fromForm(mixed $value)

From a web form field.

Parameters

mixed $value

Return Value

array

static array fromJson(mixed $value)

From a JSON body: null or a non-negative integer.

Parameters

mixed $value

Return Value

array