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