CsrfTokenGeneratorTest::$sessionMetadata

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php \Drupal\Tests\Core\Access\CsrfTokenGeneratorTest::sessionMetadata
  2. 10 core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php \Drupal\Tests\Core\Access\CsrfTokenGeneratorTest::sessionMetadata
  3. 11.x core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php \Drupal\Tests\Core\Access\CsrfTokenGeneratorTest::sessionMetadata

The mock session metadata bag.

Type: \Drupal\Core\Session\MetadataBag|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php, line 37

Class

CsrfTokenGeneratorTest
Tests the CsrfTokenGenerator class.

Namespace

Drupal\Tests\Core\Access

Code

protected $sessionMetadata;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.