public function Session::getBag in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/Session/Session.php \Symfony\Component\HttpFoundation\Session\Session::getBag()
Gets a bag instance by name.
Parameters
string $name:
Return value
Overrides SessionInterface::getBag
1 call to Session::getBag()
- Session::getFlashBag in vendor/
symfony/ http-foundation/ Session/ Session.php - Gets the flashbag interface.
File
- vendor/
symfony/ http-foundation/ Session/ Session.php, line 235
Class
- Session
- Session.
Namespace
Symfony\Component\HttpFoundation\SessionCode
public function getBag($name) {
return $this->storage
->getBag($name);
}