프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$messages | array | ||
$validation | Laracasts\Validation\ValidatorInterface | ||
$validator | Laracasts\Validation\FactoryInterface |
메소드 | 설명 | |
---|---|---|
__construct ( Laracasts\Validation\FactoryInterface $validator ) | ||
getValidationErrors ( ) : mixed | ||
getValidationMessages ( ) : mixed | ||
getValidationRules ( ) : array | ||
validate ( mixed $formData ) : mixed | Validate the form data |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | array |
protected ValidatorInterface,Laracasts\Validation $validation | ||
리턴 | Laracasts\Validation\ValidatorInterface |