프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$expire | Expire time | ||
$hits | Hits counter |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$listeners | Listeners | ||
$value | Value |
메소드 | 설명 | |
---|---|---|
__construct ( $value ) | Constructor | |
addListener ( callable $cb ) | Adds listener callback | |
getHits ( ) : integer | Get hits number | |
getValue ( ) : mixed | Get value | |
setValue ( mixed $value ) | Sets the value |