class Session implements SessionInterface, IteratorAggregate, Countable
Session.
Methods
__construct(SessionStorageInterface $storage = null, AttributeBagInterface $attributes = null, FlashBagInterface $flashes = null) Constructor.
bool start() Starts the session storage.
bool has(string $name) Checks if an attribute is defined.
mixed get(string $name, mixed $default = null) Returns an attribute.
set(string $name, mixed $value) Sets an attribute.
array all() Retu