Skip to content

Latest commit

 

History

History
354 lines (118 loc) · 2.41 KB

Session.md

File metadata and controls

354 lines (118 loc) · 2.41 KB

Session

  • Full name: \Lime\Helper\Session
  • Parent class: \Lime\Helper

Properties

initialized

protected bool $initialized

name

public string $name

Methods

init

public init(?string $name = null): mixed

Parameters:

Parameter Type Description
$name ?string

write

public write(string $key, mixed $value): void

Parameters:

Parameter Type Description
$key string
$value mixed

read

public read(string $key, mixed $default = null): mixed

Parameters:

Parameter Type Description
$key string
$default mixed

delete

public delete(string $key): void

Parameters:

Parameter Type Description
$key string

destroy

public destroy(): void

close

public close(): void

regenerateId

public regenerateId(bool $delete_old_session = false): bool

Parameters:

Parameter Type Description
$delete_old_session bool

Inherited methods

__construct

public __construct(\Lime\App $app, mixed $context = null): mixed

Parameters:

Parameter Type Description
$app \Lime\App
$context mixed

initialize

protected initialize(): mixed

__call

public __call(mixed $name, mixed $arguments): mixed

Parameters:

Parameter Type Description
$name mixed
$arguments mixed

__invoke

public __invoke(mixed $helper): mixed

Parameters:

Parameter Type Description
$helper mixed

__get

public __get(mixed $name): mixed

Parameters:

Parameter Type Description
$name mixed