src/Middleware/InputValidator.php
public function handle($request, Closure $next, $in, $type, $name, $validator)
    {
        $this->validateParameter($request, $in, $type, $name, $validator);
        return $next($request);
    }
public function handle($request, Closure $next, $in, $type, $name, $validator)
    {
        $this->validateParameter($request, $in, $type, $name, $validator);
        return $next($request);
    }
Handle an incoming request.

@param \Illuminate\Http\Request $request
@param \Closure $next
@param string $in What container should contain the input?
@param string $type Container of parameter that should be transformed (query, header, ...)
@param string $name Name of parameter that should be transformed
@param string $validator Serialized validator collection
@return mixed
@throws \CatLab\Charon\Exceptions\InvalidTransformer
@throws RequirementException