You are here

public function BoostCacheHandler::setCache in Boost 8

Save boost cache file.

File

src/BoostCacheHandler.php, line 48
Contains Drupal\boost\BoostCacheHandler.

Class

BoostCacheHandler
BoostCacheHandler class.

Namespace

Drupal\boost

Code

public function setCache($uri, $content) {
  $this->file
    ->save($uri, $content);
}