return null;
} if ($this->request === null
) { return null;
} if (!
$this->
get('shop'
)->
get('esi'
)) { return null;
} if (!
$this->
hasSurrogateEsiCapability($this->request
)) { return null;
} if (!\
in_array($this->request->
getModuleName(),
['frontend', 'widgets'
], true
)) { return null;
} $targetName =
strtolower($params['module'
] . '/' .
$params['controller'
]);
/** @var CacheControl $cacheControl */
$cacheControl =
$this->
get('http_cache.cache_control'
);