|
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 | |
| __wakeup () | |
| dump () | |
| Dump the object for testing/debugging. | |
| getType () | |
| Get the type of the parameter. | |
| getValue () | |
| Get the input value of the parameter. | |
| isSameAs (MessageParam $mp) | |
| Equality testing. | |
Static Public Member Functions | |
| static | hint () |
| If you are serializing a MessageParam, use this JsonCodec hint to suppress unnecessary type information. | |
| static | jsonClassHintFor (string $keyName) |
| static | newFromJsonArray (array $json) |
Protected Attributes | |
| ParamType | $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 14 of file MessageParam.php.
| Wikimedia\Message\MessageParam::__wakeup | ( | ) |
Reimplemented in Wikimedia\Message\ListParam.
Definition at line 84 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 29 of file MessageParam.php.
Referenced by MediaWiki\Message\Message\formatListParam(), and MediaWiki\Message\Message\params().
| Wikimedia\Message\MessageParam::getValue | ( | ) |
|
static |
If you are serializing a MessageParam, use this JsonCodec hint to suppress unnecessary type information.
Definition at line 80 of file MessageParam.php.
|
abstract |
Equality testing.
Reimplemented in Wikimedia\Message\ListParam, and Wikimedia\Message\ScalarParam.
|
static |
Reimplemented in Wikimedia\Message\ListParam, and Wikimedia\Message\ScalarParam.
Definition at line 55 of file MessageParam.php.
References Wikimedia\Message\ListParam\jsonClassHintFor(), and Wikimedia\Message\ScalarParam\jsonClassHintFor().
|
static |
Reimplemented in Wikimedia\Message\ListParam, and Wikimedia\Message\ScalarParam.
Definition at line 64 of file MessageParam.php.
References Wikimedia\Message\ListParam\newFromJsonArray().
|
protected |
Definition at line 20 of file MessageParam.php.
Referenced by Wikimedia\Message\ScalarParam\__construct().
|
protected |
Definition at line 22 of file MessageParam.php.
Referenced by Wikimedia\Message\ScalarParam\__construct().