MediaWiki
master
NullRepo.php
Go to the documentation of this file.
1
<?php
28
class
NullRepo
extends
FileRepo
{
32
public
function
__construct
( $info ) {
33
}
34
38
protected
function
assertWritableRepo
() {
39
throw
new
LogicException( static::class .
': write operations are not supported.'
);
40
}
41
}
FileRepo
Base class for file repositories.
Definition
FileRepo.php:57
NullRepo
File repository with no files, for testing purposes.
Definition
NullRepo.php:28
NullRepo\__construct
__construct( $info)
Definition
NullRepo.php:32
NullRepo\assertWritableRepo
assertWritableRepo()
Definition
NullRepo.php:38
includes
filerepo
NullRepo.php
Generated on Mon Dec 30 2024 14:23:56 for MediaWiki by
1.10.0