MediaWiki
master
TempFileRepo.php
Go to the documentation of this file.
1
<?php
8
class
TempFileRepo
extends
FileRepo
{
9
public
function
getTempRepo
() {
10
// @phan-suppress-previous-line PhanPluginNeverReturnMethod
11
throw
new
MWException
(
"Cannot get a temp repo from a temp repo."
);
12
}
13
}
FileRepo
Base class for file repositories.
Definition:
FileRepo.php:50
MWException
MediaWiki exception.
Definition:
MWException.php:33
TempFileRepo
FileRepo for temporary files created by FileRepo::getTempRepo()
Definition:
TempFileRepo.php:8
TempFileRepo\getTempRepo
getTempRepo()
Get a temporary private FileRepo associated with this repo.
Definition:
TempFileRepo.php:9
includes
filerepo
TempFileRepo.php
Generated on Tue Sep 26 2023 18:08:43 for MediaWiki by
1.9.1