EncryptedStore
class EncryptedStore extends Store (View source)
Methods
void
__construct(
string $name,
SessionHandlerInterface $handler,
Encrypter $encrypter,
string|null $id = null)
Create a new session instance.
mixed
pull(
string $key,
string $default = null)
Get the value of a given key and then forget it.
from Store
mixed
getOldInput(
string $key = null,
mixed $default = null)
Get the requested item from the flashed input array.
from Store
void
put(
string|array $key,
mixed $value = null)
Put a key / value pair or array of key / value pairs in the session.
from Store
void
now(
string $key,
mixed $value)
Flash a key / value pair to the session for immediate use.
from Store
void
setExists(
bool $value)
Set the existence of the session on the handler if applicable.
from Store
getEncrypter()
Get the encrypter instance.
Details
at line line 27
void
__construct(
string $name,
SessionHandlerInterface $handler,
Encrypter $encrypter,
string|null $id = null)
Create a new session instance.
mixed
getOldInput(
string $key = null,
mixed $default = null)
Get the requested item from the flashed input array.
void
put(
string|array $key,
mixed $value = null)
Put a key / value pair or array of key / value pairs in the session.