MediaWiki  REL1_22
NullRepo Class Reference

File repository with no files, for performance testing. More...

Inheritance diagram for NullRepo:
Collaboration diagram for NullRepo:

List of all members.

Public Member Functions

 __construct ($info)

Protected Member Functions

 assertWritableRepo ()
 Throw an exception if this repo is read-only by design.

Detailed Description

File repository with no files, for performance testing.

Definition at line 28 of file NullRepo.php.


Constructor & Destructor Documentation

NullRepo::__construct ( info)
Parameters:
$infoarray|null

Definition at line 33 of file NullRepo.php.


Member Function Documentation

Throw an exception if this repo is read-only by design.

This does not and should not check getReadOnlyReason().

Returns:
void
Exceptions:
MWException

Reimplemented from FileRepo.

Definition at line 35 of file NullRepo.php.


The documentation for this class was generated from the following file: