FileSystemInterface

Provides an interface for helpers that operate on files and stream wrappers.

Hierarchy

File

core/lib/Drupal/Core/File/FileSystemInterface.php, line 8

Namespace

Drupal\Core\File

Members

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.
doc_Drupal
2016-10-29 09:13:55
Comments
Leave a Comment

Please login to continue.