\Framework\MiddlewareCookieConsentMiddleware

Summary

Methods
Properties
Constants
handle()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
shouldSkip()
renderConsentBanner()
$excludedPaths
N/A

Properties

$excludedPaths

$excludedPaths : array

Type

array

Methods

handle()

handle(\Symfony\Component\HttpFoundation\Request  $request, callable  $next) : \Symfony\Component\HttpFoundation\Response

中间件执行方法.

Parameters

\Symfony\Component\HttpFoundation\Request $request

请求对象

callable $next

下一个中间件/控制器的回调

Returns

\Symfony\Component\HttpFoundation\Response —

响应对象

shouldSkip()

shouldSkip(\Symfony\Component\HttpFoundation\Request  $request) : bool

Parameters

\Symfony\Component\HttpFoundation\Request $request

Returns

bool —

renderConsentBanner()

renderConsentBanner() : string

Returns

string —