SensitiveParameterValue クラス

(PHP 8 >= 8.2.0)

はじめに

SensitiveParameterValue クラスを使うと、 秘密の値をうっかり公開してしまうことを防ぐために値をラップすることができます。

SensitiveParameter アトリビュートを持つパラメータに渡される値は、 スタックトレース中では SensitiveParameterValue オブジェクトで自動的にラップされます。

クラス概要

final class SensitiveParameterValue {
/* プロパティ */
private readonly mixed $value ;
/* メソッド */
public __construct (mixed $value)
public __debugInfo (): array
public getValue (): mixed
}

プロパティ

value

うっかり公開してしまうことを防ぎたい、秘密の値

目次

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /