phpday 2027 - Call for Papers

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.

Зміст

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top