« SensitiveParameterValue::__debugInfo
__PHP_Incomplete_Class »

SensitiveParameterValue::getValue

(PHP 8 >= 8.2.0)

SensitiveParameterValue::getValue — 秘密の値を返す

説明

public function SensitiveParameterValue::getValue(): mixed

秘密の値を取得します。

パラメータ

この関数にはパラメータはありません。

戻り値

秘密の値を返します。

例

例1 SensitiveParameterValue::getValue() の例

<?php
$s = new \SensitiveParameterValue('secret');

echo "The protected value is: ", $s->getValue(), "\n";
?>

上の例の出力は以下となります。

The protected value is: secret

関連キーワード:
SensitiveParameterValue   秘密   getValue   secret   protected   debugInfo   Incomplete   mixed
関連する関数・ページ:
class.sensitiveparametervalue   sensitiveparametervalue.debuginfo   sensitiveparametervalue.construct   function.sodium-crypto-sign-ed25519-sk-to-curve25519   reflectionconstant.getvalue   function.radius-server-secret