Reads code as regular PHP files, but won't write them.
Hierarchy
- class \Drupal\Component\PhpStorage\FileReadOnlyStorage implements PhpStorageInterface
File
- core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php, line 8
Namespace
Drupal\Component\PhpStorage
Members
Name | Modifiers | Type | Description |
---|---|---|---|
FileReadOnlyStorage::$directory | protected | property | The directory where the files should be stored. |
FileReadOnlyStorage::delete | public | function | Deletes PHP code from storage. Overrides PhpStorageInterface::delete |
FileReadOnlyStorage::deleteAll | public | function | Removes all files in this bin. Overrides PhpStorageInterface::deleteAll |
FileReadOnlyStorage::exists | public | function | Checks whether the PHP code exists in storage. Overrides PhpStorageInterface::exists |
FileReadOnlyStorage::garbageCollection | public | function | Performs garbage collection on the storage. Overrides PhpStorageInterface::garbageCollection |
FileReadOnlyStorage::getFullPath | public | function | Gets the full file path. Overrides PhpStorageInterface::getFullPath |
FileReadOnlyStorage::listAll | public | function | Lists all the files in the storage. Overrides PhpStorageInterface::listAll |
FileReadOnlyStorage::load | public | function | Loads PHP code from storage. Overrides PhpStorageInterface::load |
FileReadOnlyStorage::save | public | function | Saves PHP code to storage. Overrides PhpStorageInterface::save |
FileReadOnlyStorage::writeable | function | Whether this is a writeable storage. Overrides PhpStorageInterface::writeable | |
FileReadOnlyStorage::__construct | public | function | Constructs this FileStorage object. |
Please login to continue.