Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MockArraySessionStorage.php

function MockArraySessionStorage::__construct

2 calls to MockArraySessionStorage::__construct()
MockFileSessionStorage::__construct in vendor/symfony/http-foundation/Session/Storage/MockFileSessionStorage.php
MockFileSessionStorage::__construct in vendor/symfony/http-foundation/Session/Storage/MockFileSessionStorage.php
1 method overrides MockArraySessionStorage::__construct()
MockFileSessionStorage::__construct in vendor/symfony/http-foundation/Session/Storage/MockFileSessionStorage.php

File

vendor/symfony/http-foundation/Session/Storage/MockArraySessionStorage.php, line 41

Class

MockArraySessionStorage
MockArraySessionStorage mocks the session for unit tests.

Namespace

Symfony\Component\HttpFoundation\Session\Storage

Code

public function __construct(string $name = 'MOCKSESSID', ?MetadataBag $metaBag = null) {
    $this->setMetadataBag($metaBag);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal