class File

A file in the file system.

@author Bernhard Schussek <bschussek@gmail.com>

@api

Hierarchy

  • class \Symfony\Component\HttpFoundation\File\File extends \Symfony\Component\HttpFoundation\File\SplFileInfo

Expanded class hierarchy of File

5 files declare their use of File
33 string references to 'File'

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/File/File.php, line 26

Namespace

Symfony\Component\HttpFoundation\File
View source

Members

Namesort descending Modifiers Type Description Overrides
File::getExtension public function Returns the extension of the file.
File::getMimeType public function Returns the mime type of the file.
File::getName protected function Returns locale independent base name of the given path.
File::getTargetFile protected function
File::guessExtension public function Returns the extension based on the mime type.
File::move public function Moves the file to a new location. 1
File::__construct public function Constructs a new file from the given path. 1