public function MockArraySessionStorage::getMetadataBag

Gets the MetadataBag.

Return value

MetadataBag

Overrides SessionStorageInterface::getMetadataBag

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php, line 237

Class

MockArraySessionStorage
MockArraySessionStorage mocks the session for unit tests.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

public function getMetadataBag() {
  return $this->metadataBag;
}