Store::flashInput()

void flashInput(array $value) Flash an input array to the session. Parameters array $value Return Value void

Store::flash()

void flash(string $key, mixed $value) Flash a key / value pair to the session. Parameters string $key mixed $value Return Value void

Store::exists()

bool exists(string|array $key) Checks if an attribute exists. Parameters string|array $key Return Value bool

Store::decrement()

int decrement(string $key, int $amount = 1) Decrement the value of an item in the session. Parameters string $key int $amount Return Value int

Store::decrement()

int|bool decrement(string $key, mixed $value = 1) Decrement the value of an item in the cache. Parameters string $key mixed $value Return Value int|bool

Store::clear()

clear() {@inheritdoc}

Store::all()

all() {@inheritdoc}

Store::ageFlashData()

void ageFlashData() Age the flash data for the session. Return Value void

Store

Store class Store implements SessionInterface (View source) Methods void __construct(string $name, SessionHandlerInterface $handler, string|null $id = null) Create a new session instance. start() {@inheritdoc} getId() {@inheritdoc} setId($id) {@inheritdoc} bool isValidId(string $id) Determine if this is a valid session ID. getName() {@inheritdoc} setName($name) {@inheritdoc} invalidate($lifetime = null) {@inheritdoc} migrate($destroy = false, $lifetime = null) {@

Store

Store interface Store (View source) Methods mixed get(string|array $key) Retrieve an item from the cache by key. array many(array $keys) Retrieve multiple items from the cache by key. void put(string $key, mixed $value, float|int $minutes) Store an item in the cache for a given number of minutes. void putMany(array $values, float|int $minutes) Store multiple items in the cache for a given number of minutes. int|bool increment(string $key, mixed $value = 1) Increment th