The SensitiveParameterValue class

Introduction

The SensitiveParameterValue class allows wrapping sensitive values to protect them against accidental exposure.

Values of parameters having the SensitiveParameter attribute will automatically be wrapped inside of a SensitiveParameterValue object within stack traces.

Class synopsis

final SensitiveParameterValue
/* Properties */
private readonly mixed $value;
/* Methods */
public __construct(mixed $value)
public array __debugInfo()
public mixed getValue()

Properties

value

The sensitive value to be protected against accidental exposure.

Table of Contents