3 namespace Wikimedia\Message
;
6 * The base class for message parameters.
8 abstract class MessageParam
{
13 * Get the type of the parameter.
15 * @return string One of the ParamType constants
17 public function getType() {
22 * Get the input value of the parameter
24 * @return int|float|string|array
26 public function getValue() {
31 * Dump the object for testing/debugging
35 abstract public function dump();