SessionTestSubscriber::$emptySession
Same name in other branches
- 9 core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php \Drupal\session_test\EventSubscriber\SessionTestSubscriber::emptySession
- 8.9.x core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php \Drupal\session_test\EventSubscriber\SessionTestSubscriber::emptySession
- 11.x core/modules/system/tests/modules/session_test/src/EventSubscriber/SessionTestSubscriber.php \Drupal\session_test\EventSubscriber\SessionTestSubscriber::emptySession
Stores whether the session is empty at the beginning of the request.
Type: bool
File
-
core/
modules/ system/ tests/ modules/ session_test/ src/ EventSubscriber/ SessionTestSubscriber.php, line 20
Class
- SessionTestSubscriber
- Defines a test session subscriber that checks whether the session is empty.
Namespace
Drupal\session_test\EventSubscriberCode
protected $emptySession;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.