PHP 클래스 Airship\Engine\Security\HiddenString

This is just to hide sensitive strings from stack traces, etc.
파일 보기 프로젝트 열기: paragonie/airship 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$allowInline boolean
$internalStringValue string

공개 메소드들

메소드 설명
__construct ( string $value, boolean $allowInline = false ) HiddenString constructor.
__debugInfo ( ) : array Hide its internal state from var_dump()
__destruct ( ) Wipe it from memory after it's been used.
__toString ( ) : string Prevent accidental echoing of a hidden string
getString ( ) : string Explicit invocation -- get the raw string value

메소드 상세

__construct() 공개 메소드

HiddenString constructor.
public __construct ( string $value, boolean $allowInline = false )
$value string
$allowInline boolean

__debugInfo() 공개 메소드

Hide its internal state from var_dump()
public __debugInfo ( ) : array
리턴 array

__destruct() 공개 메소드

Wipe it from memory after it's been used.
public __destruct ( )

__toString() 공개 메소드

Prevent accidental echoing of a hidden string
public __toString ( ) : string
리턴 string

getString() 공개 메소드

Explicit invocation -- get the raw string value
public getString ( ) : string
리턴 string

프로퍼티 상세

$allowInline 보호되어 있는 프로퍼티

protected bool $allowInline
리턴 boolean

$internalStringValue 보호되어 있는 프로퍼티

protected string $internalStringValue
리턴 string