protected function MTimeProtectedFastFileStorage::getContainingDirectoryFullPath

Returns the full path of the containing directory where the file is or should be stored.

2 calls to MTimeProtectedFastFileStorage::getContainingDirectoryFullPath()
MTimeProtectedFastFileStorage::getFullPath in drupal/core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php
Returns the full path where the file is or should be stored.
MTimeProtectedFastFileStorage::save in drupal/core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php
Implements Drupal\Component\PhpStorage\PhpStorageInterface::save().

File

drupal/core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php, line 209
Definition of Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage.

Class

MTimeProtectedFastFileStorage
Stores PHP code in files with securely hashed names.

Namespace

Drupal\Component\PhpStorage

Code

protected function getContainingDirectoryFullPath($name) {
  return $this->directory . '/' . str_replace('/', '#', $name);
}