MediaWiki master
MessageParam.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\Message;
4
10abstract 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}
Value object representing a message parameter that consists of a list of values.
getValue()
Get the input value of the parameter.
dump()
Dump the object for testing/debugging.
getType()
Get the type of the parameter.