class FileReadOnlyStorage

Reads code as regular PHP files, but won't write them.

Hierarchy

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.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!PhpStorage!FileReadOnlyStorage.php/class/FileReadOnlyStorage/8.1.x