Provides an interface for helpers that operate on files and stream wrappers.
Name | Modifiers | Type | Description |
---|---|---|---|
FileSystemInterface::basename | public | function | Gets the filename from a given path. |
FileSystemInterface::chmod | public | function | Sets the permissions on a file or directory. |
FileSystemInterface::dirname | public | function | Gets the name of the directory from a given path. |
FileSystemInterface::mkdir | public | function | Creates a directory, optionally creating missing components in the path to the directory. |
FileSystemInterface::moveUploadedFile | public | function | Moves an uploaded file to a new location. |
FileSystemInterface::realpath | public | function | Resolves the absolute filepath of a local URI or filepath. |
FileSystemInterface::rmdir | public | function | Removes a directory. |
FileSystemInterface::tempnam | public | function | Creates a file with a unique filename in the specified directory. |
FileSystemInterface::unlink | public | function | Deletes a file. |
FileSystemInterface::uriScheme | public | function | Returns the scheme of a URI (e.g. a stream). |
FileSystemInterface::validScheme | public | function | Checks that the scheme of a stream URI is valid. |
© 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!Core!File!FileSystemInterface.php/interface/FileSystemInterface/8.1.x