MediaWiki
1.30.0
|
Constructs readers for files based on the names. More...
Public Member Functions | |
getReader ( $filename) | |
Constructs a suitable reader for a given path. More... | |
Constructs readers for files based on the names.
Definition at line 13 of file ReaderFactory.php.
LocalisationUpdate\ReaderFactory::getReader | ( | $filename | ) |
Constructs a suitable reader for a given path.
string | $filename | Usually a relative path to the file name. |
Exception |
Definition at line 20 of file ReaderFactory.php.
References $code, and Language\getCodeFromFileName().
Referenced by LocalisationUpdate\Updater\readMessages().