interface InputInterface

Input interface.

Methods

array
getInput()

Returns the input to validate.

array
getRules()

Returns the validation rules.

array
getExtensions()

Returns an array of validator extensions.

addConditionalRules(Validator $validator)

Adds conditional rules to the validator.

string|null
getErrorMessage()

Returns the error message.

Details

at line 22
array getInput()

Returns the input to validate.

Return Value

array

at line 29
array getRules()

Returns the validation rules.

Return Value

array

at line 36
array getExtensions()

Returns an array of validator extensions.

Return Value

array

at line 43
addConditionalRules(Validator $validator)

Adds conditional rules to the validator.

Parameters

Validator $validator Validator

at line 50
string|null getErrorMessage()

Returns the error message.

Return Value

string|null