MediaWiki master
|
Value object representing a message parameter that consists of a list of values. More...
Inherits JsonCodecable.
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 |
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 12 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 23 of file MessageParam.php.
Referenced by MediaWiki\Message\Message\formatListParam(), and MediaWiki\Message\Message\params().
Wikimedia\Message\MessageParam::getValue | ( | ) |
|
protected |
Definition at line 14 of file MessageParam.php.
Referenced by Wikimedia\Message\ScalarParam\__construct().
|
protected |
Definition at line 16 of file MessageParam.php.
Referenced by Wikimedia\Message\ScalarParam\__construct().