You are here

public function SessionInterface::getBag in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Session/SessionInterface.php \Symfony\Component\HttpFoundation\Session\SessionInterface::getBag()

Gets a bag instance by name.

Parameters

string $name:

Return value

SessionBagInterface

1 method overrides SessionInterface::getBag()
Session::getBag in vendor/symfony/http-foundation/Session/Session.php
Gets a bag instance by name.

File

vendor/symfony/http-foundation/Session/SessionInterface.php, line 174

Class

SessionInterface
Interface for the session.

Namespace

Symfony\Component\HttpFoundation\Session

Code

public function getBag($name);