MediaWiki master
MessageParam.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\Message;
4
6use MediaWiki\Json\JsonDeserializableTrait;
7
13abstract class MessageParam implements JsonDeserializable {
14 use JsonDeserializableTrait;
15
16 protected $type;
17 protected $value;
18
24 public function getType() {
25 return $this->type;
26 }
27
33 public function getValue() {
34 return $this->value;
35 }
36
42 abstract public function dump();
43}
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.