class Illuminate / Foundation / Http / Middleware / TransformsRequest
You are viewing an older version of the documentation. For the latest, please visit master documentation.

TransformsRequest

Methods

public

handle ( $request , Closure $next ) : mixed

Handle an incoming request.

Parameters

protected

clean ( $request ) : void

Clean the request's data.

Parameters

protected

cleanParameterBag ( Symfony\...\ParameterBag $bag ) : void

Clean the data in the parameter bag.

Parameters

  • $bag Symfony\...\ParameterBag
protected

cleanArray ( array $data , $keyPrefix ) : array

Clean the data in the given array.

Parameters

  • $data array
  • $keyPrefix string
protected

cleanValue ( $key , $value ) : mixed

Clean the given value.

Parameters

  • $key string
  • $value mixed
protected

transform ( $key , $value ) : mixed

Transform the given value.

Parameters

  • $key string
  • $value mixed