PHP Class Laravel\Lumen\Routing\Closure

Inheritance: use trait DispatchesJobs, use trait Laravel\Lumen\Routing\ValidatesRequests
Afficher le fichier Open project: ctrlaltdylan/MirrorMirror

Protected Properties

Свойство Type Description
$errorFormatter Closure The error formatter callback.
$responseBuilder Closure The response builder callback.

Méthodes publiques

Méthode Description
baseBuildFailedValidationResponse ( )
baseFormatValidationErrors ( )
buildResponseUsing ( Closure $callback ) : void Set the response builder callback.
formatErrorsUsing ( Closure $callback ) : void Set the error formatter callback.

Méthodes protégées

Méthode Description
buildFailedValidationResponse ( Illuminate\Http\Request $request, array $errors )
formatValidationErrors ( Illuminate\Validation\Validator $validator )

Method Details

baseBuildFailedValidationResponse() public méthode

baseFormatValidationErrors() public méthode

buildFailedValidationResponse() protected méthode

protected buildFailedValidationResponse ( Illuminate\Http\Request $request, array $errors )
$request Illuminate\Http\Request
$errors array

buildResponseUsing() public static méthode

Set the response builder callback.
public static buildResponseUsing ( Closure $callback ) : void
$callback Closure
Résultat void

formatErrorsUsing() public static méthode

Set the error formatter callback.
public static formatErrorsUsing ( Closure $callback ) : void
$callback Closure
Résultat void

formatValidationErrors() protected méthode

protected formatValidationErrors ( Illuminate\Validation\Validator $validator )
$validator Illuminate\Validation\Validator

Property Details

$errorFormatter protected_oe static_oe property

The error formatter callback.
protected static Closure,Laravel\Lumen\Routing $errorFormatter
Résultat Closure

$responseBuilder protected_oe static_oe property

The response builder callback.
protected static Closure,Laravel\Lumen\Routing $responseBuilder
Résultat Closure