CodeExplorer CookieRemoveHandler example
$cookieGroupCollection =
unserialize(base64_decode($cookieGroupResponseHeader),
[ 'allowed_classes' =>
[ CookieGroupCollection::
class,
CookieCollection::
class,
CookieGroupStruct::
class,
CookieStruct::
class,
],
] );
$cookieRemoveHandler =
new CookieRemoveHandler($cookieGroupCollection);
$cookieRemoveHandler->
removeCookiesFromPreferences($request,
$response);
return $response;
}}