return isset($autoNoCacheControls,
$tags[$targetName]) && \
is_array($autoNoCacheControls) && !
empty(array_intersect($autoNoCacheControls,
$tags[$targetName]));
} /**
* @return void
*/
public function setContextCacheKey(Request
$request, ShopContextInterface
$context, Response
$response) { // not logged in => reset global context cookie
if (!
$this->session->
offsetGet('sUserGroup'
)) { $this->
resetCookies($request,
$response);
return;
} $this->
setContextCookie($request,
$context,
$response);
} /**
* @param int $shopId
*
* @return bool
*/