CsrfTokenGeneratorTest::$sessionMetadata

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php \Drupal\Tests\Core\Access\CsrfTokenGeneratorTest::sessionMetadata
  2. 8.9.x core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php \Drupal\Tests\Core\Access\CsrfTokenGeneratorTest::sessionMetadata
  3. 10 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 39

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.