# SensitiveParameterValue::getValue

(PHP 8 >= 8.2.0)

SensitiveParameterValue::getValue — Returns the sensitive value

### 说明

public SensitiveParameterValue::getValue(): mixed

Get the sensitive value.

### 参数

此函数没有参数。

### 返回值

The sensitive value.

### 示例

示例 #1 SensitiveParameterValue::getValue() example

`<?php
$s = new \SensitiveParameterValue('secret');
echo "The protected value is: ", $s->getValue(), "\n";
?>`

以上示例会输出：

    The protected value is: secret

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open