\Groovel\Cmsgroovel\Http\MiddlewaresGroovelFilterBeforeMiddleware

middleware class called on each request http.

check if uri exists for request api or web

Summary

Methods
Properties
Constants
handle()
jsonResponse()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
filterBadUriApi()
No private properties found
N/A

Methods

handle()

handle(\Illuminate\Http\Request  $request, \Closure  $next) : mixed

Run the request filter.

Parameters

\Illuminate\Http\Request $request
\Closure $next

Returns

mixed

jsonResponse()

jsonResponse(  $param,   $print = false,   $header = true,   $error = false) 

Parameters

$param
$print
$header
$error

filterBadUriApi()

filterBadUriApi(  $uri) 

Parameters

$uri