/** * {@inheritDoc} */ public function isCachingEnabled($filter, array $filterOptions) { if (isset($filterOptions['enable_cache'])) { return (bool) $filterOptions['enable_cache']; } return $this->cacheOptions->getEnableCache(); }
/** * {@inheritDoc} */ public function useCacheUrl() { return $this->cacheOptions->getCacheUrl() ? true : false; }