Свойство | Type | Description | |
---|---|---|---|
$errorFormatter | The error formatter callback. | ||
$responseBuilder | The response builder callback. |
Méthode | Description | |
---|---|---|
baseBuildFailedValidationResponse ( ) | ||
baseFormatValidationErrors ( ) | ||
buildResponseUsing ( |
Set the response builder callback. | |
formatErrorsUsing ( |
Set the error formatter callback. |
Méthode | Description | |
---|---|---|
buildFailedValidationResponse ( Illuminate\Http\Request $request, array $errors ) | ||
formatValidationErrors ( Illuminate\Validation\Validator $validator ) |
protected buildFailedValidationResponse ( Illuminate\Http\Request $request, array $errors ) | ||
$request | Illuminate\Http\Request | |
$errors | array |
public static buildResponseUsing ( |
||
$callback | ||
Résultat | void |
public static formatErrorsUsing ( |
||
$callback | ||
Résultat | void |
protected formatValidationErrors ( Illuminate\Validation\Validator $validator ) | ||
$validator | Illuminate\Validation\Validator |
protected static Closure,Laravel\Lumen\Routing $errorFormatter | ||
Résultat |