MediaWiki
master
MessageParam.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Message
;
4
5
use
MediaWiki\Json\JsonDeserializable
;
6
use MediaWiki\Json\JsonDeserializableTrait;
7
13
abstract
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
}
Wikimedia\Message\MessageParam
Value object representing a message parameter that consists of a list of values.
Definition
MessageParam.php:13
Wikimedia\Message\MessageParam\$type
string $type
Definition
MessageParam.php:17
Wikimedia\Message\MessageParam\$value
mixed $value
Definition
MessageParam.php:19
Wikimedia\Message\MessageParam\getValue
getValue()
Get the input value of the parameter.
Definition
MessageParam.php:35
Wikimedia\Message\MessageParam\dump
dump()
Dump the object for testing/debugging.
Wikimedia\Message\MessageParam\getType
getType()
Get the type of the parameter.
Definition
MessageParam.php:26
MediaWiki\Json\JsonDeserializable
Definition
JsonDeserializable.php:38
Wikimedia\Message
Definition
DataMessageValue.php:3
includes
libs
Message
MessageParam.php
Generated on Sat Oct 5 2024 23:24:09 for MediaWiki by
1.10.0