MediaWiki  1.34.0
LocalisationUpdate\ReaderFactory Class Reference

Constructs readers for files based on the names. More...

Public Member Functions

 getReader ( $filename)
 Constructs a suitable reader for a given path. More...
 

Detailed Description

Constructs readers for files based on the names.

Definition at line 13 of file ReaderFactory.php.

Member Function Documentation

◆ getReader()

LocalisationUpdate\ReaderFactory::getReader (   $filename)

Constructs a suitable reader for a given path.

Parameters
string$filenameUsually a relative path to the file name.
Returns
Reader
Exceptions

Definition at line 20 of file ReaderFactory.php.

Referenced by LocalisationUpdate\Updater\readMessages().


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