class TransformsRequest

Methods

mixed
handle(Request $request, Closure $next)

Handle an incoming request.

void
clean(Request $request)

Clean the request's data.

void
cleanParameterBag(ParameterBag $bag)

Clean the data in the parameter bag.

array
cleanArray(array $data, string $keyPrefix = '')

Clean the data in the given array.

mixed
cleanValue(string $key, mixed $value)

Clean the given value.

mixed
transform(string $key, mixed $value)

Transform the given value.

Details

at line 16
mixed handle(Request $request, Closure $next)

Handle an incoming request.

Parameters

Request $request
Closure $next

Return Value

mixed

at line 26
protected void clean(Request $request)

Clean the request's data.

Parameters

Request $request

Return Value

void

at line 40
protected void cleanParameterBag(ParameterBag $bag)

Clean the data in the parameter bag.

Parameters

ParameterBag $bag

Return Value

void

at line 48
protected array cleanArray(array $data, string $keyPrefix = '')

Clean the data in the given array.

Parameters

array $data
string $keyPrefix

Return Value

array

at line 60
protected mixed cleanValue(string $key, mixed $value)

Clean the given value.

Parameters

string $key
mixed $value

Return Value

mixed

at line 72
protected mixed transform(string $key, mixed $value)

Transform the given value.

Parameters

string $key
mixed $value

Return Value

mixed