MediaWiki
REL1_39
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:47
MWException
MediaWiki exception.
Definition
MWException.php:29
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 Mon Nov 25 2024 06:55:34 for MediaWiki by
1.10.0