TestSessionBag::$attributes

Same name in other branches
  1. 8.9.x core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php \Drupal\session_test\Session\TestSessionBag::attributes
  2. 10 core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php \Drupal\session_test\Session\TestSessionBag::attributes
  3. 11.x core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php \Drupal\session_test\Session\TestSessionBag::attributes

Storage for data to save.

Type: array

File

core/modules/system/tests/modules/session_test/src/Session/TestSessionBag.php, line 29

Class

TestSessionBag
Test session container.

Namespace

Drupal\session_test\Session

Code

protected $attributes = [];

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