class RequireXml (View source)

Methods

mixed
handle(Request $request, Closure $next, bool $isValidXml = false)

Handle an incoming request.

Details

mixed handle(Request $request, Closure $next, bool $isValidXml = false)

Handle an incoming request.

Parameters

Request $request
Closure $next
bool $isValidXml

Return Value

mixed

See also

https://stackoverflow.com/a/11973933/2732184