MediaWiki REL1_34
LocalisationUpdate\Reader Interface Reference

Interface for file readers. More...

Inheritance diagram for LocalisationUpdate\Reader:

Public Member Functions

 parse ( $contents)
 Returns a list of messages indexed by language code.
 

Detailed Description

Interface for file readers.

Definition at line 13 of file Reader.php.

Member Function Documentation

◆ parse()

LocalisationUpdate\Reader::parse ( $contents)

Returns a list of messages indexed by language code.

Example array( 'en' => array( 'key' => 'value' ) );

Parameters
string$contentsFile contents as a string.
Returns
array

Implemented in LocalisationUpdate\JSONReader.


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