mixed pull(string $key, string $default = null) Get the value of a given key and then forget it. Parameters string $key string $default Return Value mixed
string|null previousUrl() Get the previous URL from the session. Return Value string|null
void now(string $key, mixed $value) Flash a key / value pair to the session for immediate use. Parameters string $key mixed $value Return Value void
migrate($destroy = false, $lifetime = null) {@inheritdoc} Parameters $destroy $lifetime
array many(array $keys) Retrieve multiple items from the cache by key. Items not found in the cache will have a null value. Parameters array $keys Return Value array
void keep(array|mixed $keys = null) Reflash a subset of the current flash data. Parameters array|mixed $keys Return Value void
bool isValidId(string $id) Determine if this is a valid session ID. Parameters string $id Return Value bool
isStarted() {@inheritdoc}
invalidate($lifetime = null) {@inheritdoc} Parameters $lifetime
mixed increment(string $key, int $amount = 1) Increment the value of an item in the session. Parameters string $key int $amount Return Value mixed
Page 109 of 996