(PHP 8 >= 8.2.0)
SensitiveParameterValue::getValue — Returns the sensitive value
Get the sensitive value.
This function has no parameters.
The sensitive value.
Example #1 SensitiveParameterValue::getValue() example
<?php $s = new \SensitiveParameterValue('secret'); echo "The protected value is: ", $s->getValue(), "\n"; ?>
The above example will output:
The protected value is: secret