프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$hash | string | ||
$identityInfo | array |
메소드 | 설명 | |
---|---|---|
__construct ( ) | ||
addInformation ( array $information ) | Registers several pieces of information in the identity. | |
getHash ( ) : string | Returns the hash of the current identity (e.g. md5, sha1. | |
getInformation ( ) : array | Returns registered information. | |
replaceInformation ( array $information ) | Replaces the information already registered in the identity. | |
setInformation ( string $informationName, scalar $informationValue ) | Registers an information in the identity. |
메소드 | 설명 | |
---|---|---|
resetHash ( ) | Resets current hash. |
public addInformation ( array $information ) | ||
$information | array | Hash where key is the information type and value is a scalar. |
public replaceInformation ( array $information ) | ||
$information | array | Hash where key is the information type and value is a scalar. |
public setInformation ( string $informationName, scalar $informationValue ) | ||
$informationName | string | |
$informationValue | scalar |