FileSessionStorage
final class FileSessionStorage implements SessionStorageInterface (View source)
Constants
| private COOKIE_NAME |
|
Methods
__construct(string $directory, int $lifetimeSeconds = 7200, string $cookieName = self::COOKIE_NAME)
start()
void
started()
bool
has(string $key)
bool
get(string $key, mixed $default = null)
mixed
set(string $key, mixed $value)
void
remove(string $key)
void
clear()
void
regenerate(bool $deleteOldSession = true)
void
Details
__construct
__construct(string $directory, int $lifetimeSeconds = 7200, string $cookieName = self::COOKIE_NAME)
No description
start
void
start()
No description
started
bool
started()
No description
has
bool
has(string $key)
No description
get
mixed
get(string $key, mixed $default = null)
No description
set
void
set(string $key, mixed $value)
No description
remove
void
remove(string $key)
No description
clear
void
clear()
No description
regenerate
void
regenerate(bool $deleteOldSession = true)
No description