MediaWiki
REL1_37
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
}
Wikimedia\Message\MessageValue
Value object representing a message for i18n.
Definition
MessageValue.php:16
Wikimedia\Message\ITextFormatter
Definition
ITextFormatter.php:18
Wikimedia\Message\ITextFormatter\format
format(MessageValue $message)
Convert a MessageValue to text.
Wikimedia\Message\ITextFormatter\getLangCode
getLangCode()
Get the internal language code in which format() is.
Wikimedia\Message
Definition
DataMessageValue.php:3
includes
libs
Message
ITextFormatter.php
Generated on Fri Apr 5 2024 23:40:28 for MediaWiki by
1.9.8