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
17 protected $type;
19 protected $value;
20
26 public function getType() {
27 return $this->type;
28 }
29
35 public function getValue() {
36 return $this->value;
37 }
38
44 abstract public function dump();
45}
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.