bool has(string $type) Has flash messages for a given type?
bool regenerate(bool $destroy = false, int $lifetime = null) Regenerates id that represents this
clear() Clears all attributes.
string getStorageKey() Gets the storage key for this bag.
string getName() Gets this bag's name.
MetadataBag
setName($name) Parameters $name
replace(array $attributes) Sets attributes.
SessionBagInterface
Page 6 of 23