\Hubleto\Framework\Interfaces\SessionManagerInterface
Methods
getSalt
public getSalt(): string
start
public start(bool $persist, array $options = []): void
Parameters:
Parameter | Type | Description |
---|---|---|
$persist |
bool | |
$options |
array |
prolongSession
public prolongSession(int $seconds = 2592000): void
Parameters:
Parameter | Type | Description |
---|---|---|
$seconds |
int |
stop
public stop(): void
set
public set(string $path, mixed $value, string $key = ''): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string | |
$value |
mixed | |
$key |
string |
get
public get(string $path = '', string $key = ''): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string | |
$key |
string |
push
public push(string $path, mixed $value): void
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string | |
$value |
mixed |
isset
public isset(string $path): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string |
unset
public unset(string $path): void
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string |
clear
public clear(): void