You are here

public function BoostCacheFile::save in Boost 8

Create new cache file.

Parameters

string $uri:

string $content:

File

src/BoostCacheFile.php, line 55
Contains Drupal\boost\BoostCacheFile

Class

BoostCacheFile
BoostCacheFile class.

Namespace

Drupal\boost

Code

public function save($uri, $content) {
  $this
    ->directory($uri);
  $this
    ->modify($uri, $content);
}