|
MediaWiki REL1_39
|
Value object representing a message parameter holding a single value. More...


Public Member Functions | |
| __construct ( $type, $value) | |
| Construct a text parameter. | |
| dump () | |
| Dump the object for testing/debugging. | |
Public Member Functions inherited from Wikimedia\Message\MessageParam | |
| getType () | |
| Get the type of the parameter. | |
| getValue () | |
| Get the input value of the parameter. | |
Additional Inherited Members | |
Protected Attributes inherited from Wikimedia\Message\MessageParam | |
| $type | |
| $value | |
Value object representing a message parameter holding a single value.
Message parameter classes are pure value objects and are safely newable.
Definition at line 14 of file ScalarParam.php.
| Wikimedia\Message\ScalarParam::__construct | ( | $type, | |
| $value ) |
Construct a text parameter.
| string | $type | One of the ParamType constants. |
| string | int | float | MessageValue | Stringable | $value |
Definition at line 23 of file ScalarParam.php.
References Wikimedia\Message\MessageParam\$type, Wikimedia\Message\MessageParam\$value, and Wikimedia\Message\ParamType\LIST.
| Wikimedia\Message\ScalarParam::dump | ( | ) |
Dump the object for testing/debugging.
Reimplemented from Wikimedia\Message\MessageParam.
Definition at line 41 of file ScalarParam.php.