|
MediaWiki 1.43.1
|
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 | |
| string | $type |
| mixed | $value |
Additional Inherited Members | |
Static Public Member Functions inherited from MediaWiki\Json\JsonDeserializable | |
| 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 26 of file MessageParam.php.
References Wikimedia\Message\MessageParam\$type.
Referenced by MediaWiki\Message\Message\formatListParam(), and MediaWiki\Message\Message\params().
| Wikimedia\Message\MessageParam::getValue | ( | ) |
Get the input value of the parameter.
Definition at line 35 of file MessageParam.php.
References Wikimedia\Message\MessageParam\$value.
|
protected |
Definition at line 17 of file MessageParam.php.
Referenced by Wikimedia\Message\ScalarParam\__construct(), and Wikimedia\Message\MessageParam\getType().
|
protected |
Definition at line 19 of file MessageParam.php.
Referenced by Wikimedia\Message\ScalarParam\__construct(), and Wikimedia\Message\MessageParam\getValue().