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 24
array
getInput()
Returns the input to validate.
in InputInterface at line 31
array
getRules()
Returns the validation rules.
in InputInterface at line 38
array
getExtensions()
Returns an array of validator extensions.
in InputInterface at line 45
addConditionalRules(Validator $validator)
Adds conditional rules to the validator.
in InputInterface at line 52
string|null
getErrorMessage()
Returns the error message.
at line 22
bool
shouldRedirect()
Should we redirect the client if possible?
at line 29
string
getRedirectUrl()
Returns the redirect URL.
at line 36
bool
shouldIncludeOldInput()
Should the old input be included?
at line 43
array
getOldInput()
Returns the old input.