MediaWiki REL1_39
TempFileRepo.php
Go to the documentation of this file.
1<?php
8class 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}
Base class for file repositories.
Definition FileRepo.php:47
MediaWiki exception.
FileRepo for temporary files created by FileRepo::getTempRepo()
getTempRepo()
Get a temporary private FileRepo associated with this repo.