PhpStorageInterface

Stores and loads PHP code.

Each interface function takes $name as a parameter. This is a virtual file name: for example, 'foo.php' or 'some/relative/path/to/foo.php'. The storage implementation may store these as files within the local file system, use a remote stream, combine multiple virtual files into an archive, store them in database records, or use some other storage technique.

Hierarchy

File

core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php, line 14

Namespace

Drupal\Component\PhpStorage

Members

Name Modifiers Type Description
PhpStorageInterface::delete public function Deletes PHP code from storage.
PhpStorageInterface::deleteAll public function Removes all files in this bin.
PhpStorageInterface::exists public function Checks whether the PHP code exists in storage.
PhpStorageInterface::garbageCollection public function Performs garbage collection on the storage.
PhpStorageInterface::getFullPath public function Gets the full file path.
PhpStorageInterface::listAll public function Lists all the files in the storage.
PhpStorageInterface::load public function Loads PHP code from storage.
PhpStorageInterface::save public function Saves PHP code to storage.
PhpStorageInterface::writeable public function Whether this is a writeable storage.
doc_Drupal
2016-10-29 09:33:58
Comments
Leave a Comment

Please login to continue.