Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/includes/Message/MessageFormatterFactory.php
Ðазад
<?php namespace MediaWiki\Message; use Wikimedia\Message\IMessageFormatterFactory; use Wikimedia\Message\ITextFormatter; /** * The MediaWiki-specific implementation of IMessageFormatterFactory */ class MessageFormatterFactory implements IMessageFormatterFactory { /** @var string */ private $format; /** @var array */ private $textFormatters = []; /** * Required parameters may be added to this function without deprecation. * External callers should use MediaWikiServices::getMessageFormatterFactory(). * * @param string $format which if the Message::FORMAT_* to use in the formatters. * @internal */ public function __construct( string $format = Message::FORMAT_TEXT ) { $this->format = $format; } /** * @inheritDoc */ public function getTextFormatter( $langCode ): ITextFormatter { if ( !isset( $this->textFormatters[$langCode] ) ) { $this->textFormatters[$langCode] = new TextFormatter( $langCode, $this->format ); } return $this->textFormatters[$langCode]; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка