private function BoostCacheFile::directory in Boost 8
Make directory.
Parameters
string $uri:
1 call to BoostCacheFile::directory()
- BoostCacheFile::save in src/
BoostCacheFile.php - Create new cache file.
File
- src/
BoostCacheFile.php, line 72 - Contains Drupal\boost\BoostCacheFile
Class
- BoostCacheFile
- BoostCacheFile class.
Namespace
Drupal\boostCode
private function directory($uri) {
$dir = $this->filesystem
->dirname($uri);
if (!file_exists($dir)) {
$this->filesystem
->mkdir($dir, static::CHMOD_DIRECTORY, TRUE);
}
}