- Full name:
\Lime\Helper\Session
- Parent class:
\Lime\Helper
protected bool $initialized
public string $name
public init(?string $name = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
?string |
public write(string $key, mixed $value): void
Parameters:
Parameter | Type | Description |
---|---|---|
$key |
string | |
$value |
mixed |
public read(string $key, mixed $default = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$key |
string | |
$default |
mixed |
public delete(string $key): void
Parameters:
Parameter | Type | Description |
---|---|---|
$key |
string |
public destroy(): void
public close(): void
public regenerateId(bool $delete_old_session = false): bool
Parameters:
Parameter | Type | Description |
---|---|---|
$delete_old_session |
bool |
public __construct(\Lime\App $app, mixed $context = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$app |
\Lime\App | |
$context |
mixed |
protected initialize(): mixed
public __call(mixed $name, mixed $arguments): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
mixed | |
$arguments |
mixed |
public __invoke(mixed $helper): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$helper |
mixed |
public __get(mixed $name): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$name |
mixed |