MediaWiki  master
ITextFormatter.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Wikimedia\Message;
4 
18 interface ITextFormatter {
23  public function getLangCode();
24 
33  public function format( MessageValue $message );
34 }
Value object representing a message for i18n.
format(MessageValue $message)
Convert a MessageValue to text.
getLangCode()
Get the internal language code in which format() is.