Neos\Fusion\Core\Cache\RuntimeContentCache::setEnableContentCache PHP Метод

setEnableContentCache() публичный Метод

public setEnableContentCache ( boolean $enableContentCache ) : void
$enableContentCache boolean
Результат void
    public function setEnableContentCache($enableContentCache)
    {
        $this->enableContentCache = $enableContentCache;
    }

Usage Example

Пример #1
0
 /**
  * If the TypoScript content cache should be enabled at all
  *
  * @param boolean $flag
  * @return void
  */
 public function setEnableContentCache($flag)
 {
     $this->runtimeContentCache->setEnableContentCache($flag);
 }