Gets a SessionBagInterface by name.
Parameters
string $name:
Return value
SessionBagInterface
Throws
\InvalidArgumentException If the bag does not exist
File
- drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php, line 133
Class
- SessionStorageInterface
- StorageInterface.
Namespace
Symfony\Component\HttpFoundation\Session\Storage
Code
public function getBag($name);