Property | Type | Description | |
---|---|---|---|
$messages | array | ||
$validation | Laracasts\Validation\ValidatorInterface | ||
$validator | Laracasts\Validation\FactoryInterface |
Method | Description | |
---|---|---|
__construct ( Laracasts\Validation\FactoryInterface $validator ) | ||
getValidationErrors ( ) : mixed | ||
getValidationMessages ( ) : mixed | ||
getValidationRules ( ) : array | ||
validate ( mixed $formData ) : mixed | Validate the form data |
Method | Description | |
---|---|---|
normalizeFormData ( mixed $formData ) : array | Normalize the provided data to an array. |
public __construct ( Laracasts\Validation\FactoryInterface $validator ) | ||
$validator | Laracasts\Validation\FactoryInterface |
protected normalizeFormData ( mixed $formData ) : array | ||
$formData | mixed | |
return | array |
protected ValidatorInterface,Laracasts\Validation $validation | ||
return | Laracasts\Validation\ValidatorInterface |