Property | Type | Description | |
---|---|---|---|
$key | EncryptionKey |
Method | Description | |
---|---|---|
__construct ( EncryptionKey $key ) | Cookie constructor. | |
__debugInfo ( ) : array | Hide this from var_dump(), etc. | |
fetch ( string $name ) : mixed | Store a value in an encrypted cookie | |
store ( string $name, mixed $value, integer $expire, string $path = '/', string $domain = '', boolean $secure = true, boolean $httpOnly = true ) : boolean | Store a value in an encrypted cookie |
Method | Description | |
---|---|---|
getConfig ( string $stored ) : SymmetricConfig | Get the configuration for this version of halite |
public __construct ( EncryptionKey $key ) | ||
$key | EncryptionKey |
public __debugInfo ( ) : array | ||
return | array |
public store ( string $name, mixed $value, integer $expire, string $path = '/', string $domain = '', boolean $secure = true, boolean $httpOnly = true ) : boolean | ||
$name | string | |
$value | mixed | |
$expire | integer | (defaults to 0) |
$path | string | (defaults to '/') |
$domain | string | (defaults to NULL) |
$secure | boolean | (defaults to TRUE) |
$httpOnly | boolean | (defaults to TRUE) |
return | boolean |