Вступ
PHP Manual
PHP Manual»Predefined Interfaces and Classes»SensitiveParameterValue

The SensitiveParameterValue class

(PHP 8 >= 8.2.0)

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.

final class SensitiveParameterValue {
/* Властивості */
private readonly mixed $value;
/* Методи */
public function __construct(mixed $value)
public function __debugInfo(): array
public function getValue(): mixed
}
value
The sensitive value to be protected against accidental exposure.

Зміст

To Top