You are here

private function BoostCacheFile::modify in Boost 8

Overrite existing cache file.

Parameters

string $uri:

string $content:

1 call to BoostCacheFile::modify()
BoostCacheFile::save in src/BoostCacheFile.php
Create new cache file.

File

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

Class

BoostCacheFile
BoostCacheFile class.

Namespace

Drupal\boost

Code

private function modify($uri, $content) {
  return file_unmanaged_save_data($content, $uri, FILE_EXISTS_REPLACE);
}