메소드 | 설명 | |
---|---|---|
validate ( Illuminate\Http\Request $request, array $rules, array $messages = [], array $customAttributes = [] ) : void | Validate the given request with the given rules. |
메소드 | 설명 | |
---|---|---|
formatValidationErrors ( Illuminate\Validation\Validator $validator ) : array | Format the validation errors to be returned. | |
getValidationFactory ( ) : Illuminate\Contracts\Validation\Factory | Get a validation factory instance. |
protected formatValidationErrors ( Illuminate\Validation\Validator $validator ) : array | ||
$validator | Illuminate\Validation\Validator | |
리턴 | array |
protected getValidationFactory ( ) : Illuminate\Contracts\Validation\Factory | ||
리턴 | Illuminate\Contracts\Validation\Factory |