/**
* Helper function to enable the http cache for a single shopware controller.
*
* @param int $cacheTime
* @param array $cacheIds
*/
public function enableControllerCache($cacheTime = 3600,
$cacheIds =
[]) { $httpCache =
$this->
HttpCache();
if ($httpCache) { $httpCache->
enableControllerCache($cacheTime,
$cacheIds);
} } /**
* Helper function to disable the http cache for a single shopware controller
*/
public function disableControllerCache() { $httpCache =
$this->
HttpCache();
if ($httpCache) { $httpCache->
disableControllerCache();
}