MediaWiki REL1_31
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.
 

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
Exception

Definition at line 20 of file ReaderFactory.php.

References $code.


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