MediaWiki  1.34.4
MessageParam.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Wikimedia\Message;
4 
10 abstract class MessageParam {
11  protected $type;
12  protected $value;
13 
19  public function getType() {
20  return $this->type;
21  }
22 
28  public function getValue() {
29  return $this->value;
30  }
31 
37  abstract public function dump();
38 }
Wikimedia\Message\MessageParam\$type
$type
Definition: MessageParam.php:11
Wikimedia\Message\MessageParam\getType
getType()
Get the type of the parameter.
Definition: MessageParam.php:19
Wikimedia\Message
Definition: IMessageFormatterFactory.php:3
Wikimedia\Message\MessageParam\getValue
getValue()
Get the input value of the parameter.
Definition: MessageParam.php:28
Wikimedia\Message\MessageParam\dump
dump()
Dump the object for testing/debugging.
Wikimedia\Message\MessageParam\$value
$value
Definition: MessageParam.php:12
Wikimedia\Message\MessageParam
Value object representing a message parameter that consists of a list of values.
Definition: MessageParam.php:10