HttpInputInterface
interface HttpInputInterface implements InputInterface
HTTP input interface.
Methods
from InputInterface
bool
shouldRedirect()
Should we redirect the client if possible?
string
getRedirectUrl()
Returns the redirect URL.
bool
shouldIncludeOldInput()
Should the old input be included?
array
getOldInput()
Returns the old input.
Details
in InputInterface at line 22
array
getInput()
Returns the input to validate.
in InputInterface at line 29
array
getRules()
Returns the validation rules.
in InputInterface at line 36
array
getExtensions()
Returns an array of validator extensions.
in InputInterface at line 43
addConditionalRules(Validator $validator)
Adds conditional rules to the validator.
in InputInterface at line 50
string|null
getErrorMessage()
Returns the error message.
at line 20
bool
shouldRedirect()
Should we redirect the client if possible?
at line 27
string
getRedirectUrl()
Returns the redirect URL.
at line 34
bool
shouldIncludeOldInput()
Should the old input be included?
at line 41
array
getOldInput()
Returns the old input.