|
MediaWiki master
|
Public Member Functions | |
| __construct ( $tmpDirectory=null) | |
| newTempFSFile ( $prefix, $extension='') | |
| Make a new temporary file on the file system. | |
Definition at line 8 of file TempFSFileFactory.php.
| Wikimedia\FileBackend\FSFile\TempFSFileFactory::__construct | ( | $tmpDirectory = null | ) |
| string | null | $tmpDirectory | A directory to put the temporary files in, e.g., $wgTmpDirectory. If null, we'll try to find one ourselves. |
Definition at line 16 of file TempFSFileFactory.php.
| Wikimedia\FileBackend\FSFile\TempFSFileFactory::newTempFSFile | ( | $prefix, | |
| $extension = '' ) |
Make a new temporary file on the file system.
Temporary files may be purged when the file object falls out of scope.
| string | $prefix | |
| string | $extension | Optional file extension |
Definition at line 28 of file TempFSFileFactory.php.
References $path, and Wikimedia\FileBackend\FSFile\TempFSFile\getUsableTempDirectory().