Property | Type | Description | |
---|---|---|---|
$attributes | array | The Model's attributes aliases. | |
$inputData | array | The input data of the current request. | |
$messages | array | Array of custom validation messages. | |
$rules | array | The validation rules to validate the input data against. | |
$validator | Illuminate\Validation\Validator | The validator instance. |
Method | Description | |
---|---|---|
__construct ( ) | AbstractForm constructor. | |
getAttributes ( ) : array | Get the custom attributes aliases. | |
getErrors ( ) : Illuminate\Support\MessageBag | Get the validation errors off of the Validator instance. | |
getInputData ( ) : array | Get the prepared input data. | |
isValid ( ) : boolean | Check whether the input data is valid. |
Method | Description | |
---|---|---|
getMessages ( ) : array | Get the custom validation messages. | |
getRules ( ) : array | Get the prepared validation rules. |
public getAttributes ( ) : array | ||
return | array |
public getErrors ( ) : Illuminate\Support\MessageBag | ||
return | Illuminate\Support\MessageBag |
public getInputData ( ) : array | ||
return | array |
protected getMessages ( ) : array | ||
return | array |
protected array $attributes | ||
return | array |
protected array $inputData | ||
return | array |
protected array $messages | ||
return | array |
protected array $rules | ||
return | array |