Свойство | Type | Description | |
---|---|---|---|
$messages | array | ||
$validation | Laracasts\Validation\ValidatorInterface | ||
$validator | Laracasts\Validation\FactoryInterface |
Méthode | Description | |
---|---|---|
__construct ( Laracasts\Validation\FactoryInterface $validator ) | ||
getValidationErrors ( ) : mixed | ||
getValidationMessages ( ) : mixed | ||
getValidationRules ( ) : array | ||
validate ( mixed $formData ) : mixed | Validate the form data |
Méthode | 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 | |
Résultat | array |
protected ValidatorInterface,Laracasts\Validation $validation | ||
Résultat | Laracasts\Validation\ValidatorInterface |