public function FileStorage::getFullPath in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/PhpStorage/FileStorage.php \Drupal\Component\PhpStorage\FileStorage::getFullPath()
Gets the full file path.
Parameters
string $name: The virtual file name. Can be a relative path.
Return value
string|FALSE The full file path for the provided name. Return FALSE if the implementation needs to prevent access to the file.
Overrides PhpStorageInterface::getFullPath
4 calls to FileStorage::getFullPath()
- FileStorage::delete in lib/
Drupal/ Component/ PhpStorage/ FileStorage.php - Deletes PHP code from storage.
- FileStorage::exists in lib/
Drupal/ Component/ PhpStorage/ FileStorage.php - Checks whether the PHP code exists in storage.
- FileStorage::load in lib/
Drupal/ Component/ PhpStorage/ FileStorage.php - Loads PHP code from storage.
- FileStorage::save in lib/
Drupal/ Component/ PhpStorage/ FileStorage.php - Saves PHP code to storage.
1 method overrides FileStorage::getFullPath()
- MTimeProtectedFastFileStorage::getFullPath in lib/
Drupal/ Component/ PhpStorage/ MTimeProtectedFastFileStorage.php - Gets the full path where the file is or should be stored.
File
- lib/
Drupal/ Component/ PhpStorage/ FileStorage.php, line 198 - Contains \Drupal\Component\PhpStorage\FileStorage.
Class
- FileStorage
- Stores the code as regular PHP files.
Namespace
Drupal\Component\PhpStorageCode
public function getFullPath($name) {
return $this->directory . '/' . $name;
}