MediaWiki REL1_35
Wikimedia\Message\ITextFormatter Interface Reference
Inheritance diagram for Wikimedia\Message\ITextFormatter:

Public Member Functions

 format (MessageValue $message)
 Convert a MessageValue to text.
 
 getLangCode ()
 Get the internal language code in which format() is.
 

Detailed Description

Definition at line 18 of file ITextFormatter.php.

Member Function Documentation

◆ format()

Wikimedia\Message\ITextFormatter::format ( MessageValue  $message)

Convert a MessageValue to text.

The result is not safe for use as raw HTML.

Parameters
MessageValue$message
Returns
string

Implemented in MediaWiki\Message\TextFormatter.

◆ getLangCode()

Wikimedia\Message\ITextFormatter::getLangCode ( )

Get the internal language code in which format() is.

Returns
string

Implemented in MediaWiki\Message\TextFormatter.


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