MediaWiki master
|
Value object representing a message parameter that consists of a list of values. More...
Inherits MediaWiki\Json\JsonDeserializable.
Inherited by Wikimedia\Message\ListParam, and Wikimedia\Message\ScalarParam.
Public Member Functions | |
dump () | |
Dump the object for testing/debugging. | |
getType () | |
Get the type of the parameter. | |
getValue () | |
Get the input value of the parameter. | |
Protected Attributes | |
$type | |
$value | |
Additional Inherited Members | |
![]() | |
static | newFromJsonArray (JsonDeserializer $deserializer, array $json) |
Creates a new instance of the class and initialized it from the $json array. | |
Value object representing a message parameter that consists of a list of values.
Message parameter classes are pure value objects and are newable and (de)serializable.
Definition at line 13 of file MessageParam.php.
|
abstract |
Dump the object for testing/debugging.
Reimplemented in Wikimedia\Message\ListParam, and Wikimedia\Message\ScalarParam.
Wikimedia\Message\MessageParam::getType | ( | ) |
Get the type of the parameter.
Definition at line 24 of file MessageParam.php.
References Wikimedia\Message\MessageParam\$type.
Wikimedia\Message\MessageParam::getValue | ( | ) |
Get the input value of the parameter.
Definition at line 33 of file MessageParam.php.
References Wikimedia\Message\MessageParam\$value.
|
protected |
Definition at line 16 of file MessageParam.php.
Referenced by Wikimedia\Message\ScalarParam\__construct(), and Wikimedia\Message\MessageParam\getType().
|
protected |
Definition at line 17 of file MessageParam.php.
Referenced by Wikimedia\Message\ScalarParam\__construct(), and Wikimedia\Message\MessageParam\getValue().