Property | Type | Description | |
---|---|---|---|
$expire | Expire time | ||
$hits | Hits counter |
Property | Type | Description | |
---|---|---|---|
$listeners | Listeners | ||
$value | Value |
Method | Description | |
---|---|---|
__construct ( $value ) | Constructor | |
addListener ( callable $cb ) | Adds listener callback | |
getHits ( ) : integer | Get hits number | |
getValue ( ) : mixed | Get value | |
setValue ( mixed $value ) | Sets the value |