Gets a bag instance by name.
Parameters
string $name:
Return value
SessionBagInterface
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/SessionInterface.php, line 200
Class
- SessionInterface
- Interface for the session.
Namespace
Symfony\Component\HttpFoundation\Session
Code
public function getBag($name);