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

Public Member Functions

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

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

◆ getLangCode()

Wikimedia\Message\ITextFormatter::getLangCode ( )

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

Returns
string

Implemented in Message\TextFormatter.


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