TransformsRequest
class TransformsRequest
Properties
protected array | $attributes | The additional attributes passed to the middleware. |
Methods
void
cleanParameterBag(ParameterBag $bag)
Clean the data in the parameter bag.
array
cleanArray(array $data)
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 24
mixed
handle(Request $request, Closure $next, ...$attributes)
Handle an incoming request.
at line 39
protected void
clean(Request $request)
Clean the request's data.
at line 56
protected void
cleanParameterBag(ParameterBag $bag)
Clean the data in the parameter bag.
at line 67
protected array
cleanArray(array $data)
Clean the data in the given array.
at line 81
protected mixed
cleanValue(string $key, mixed $value)
Clean the given value.
at line 97
protected mixed
transform(string $key, mixed $value)
Transform the given value.