MediaWiki REL1_37
TempFileRepo.php
Go to the documentation of this file.
1<?php
5class TempFileRepo extends FileRepo {
6 public function getTempRepo() {
7 // @phan-suppress-previous-line PhanPluginNeverReturnMethod
8 throw new MWException( "Cannot get a temp repo from a temp repo." );
9 }
10}
Base class for file repositories.
Definition FileRepo.php:45
MediaWiki exception.
FileRepo for temporary files created via FileRepo::getTempRepo()
getTempRepo()
Get a temporary private FileRepo associated with this repo.