SensitiveParameterValue
final class SensitiveParameterValue (View source)
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.
Methods
Constructs a new SensitiveParameterValue object
Returns the sensitive value
Protects the sensitive value against accidental exposure
Details
__construct(mixed $value)
Constructs a new SensitiveParameterValue object
Construct a SensitiveParameterValue holding a sensitive value.
mixed
getValue()
Returns the sensitive value
Get the sensitive value.
array
__debugInfo()
Protects the sensitive value against accidental exposure
Returns an empty array to protect the sensitive value against accidental exposure when using var_dump.