MediaWiki
REL1_40
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:48
MWException
MediaWiki exception.
Definition
MWException.php:32
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 Thu Jun 27 2024 14:02:46 for MediaWiki by
1.10.0