function MockSessionTrait::resetSessionStore
Same name in other branches
- 4.0.x modules/stream_wrapper_example/tests/src/Traits/MockSessionTrait.php \Drupal\Tests\stream_wrapper_example\Traits\MockSessionTrait::resetSessionStore()
Helper for our mocks.
File
-
modules/
stream_wrapper_example/ tests/ src/ Traits/ MockSessionTrait.php, line 100
Class
- MockSessionTrait
- A trait to expose a mock session type to PHPUnit tests.
Namespace
Drupal\Tests\stream_wrapper_example\TraitsCode
public function resetSessionStore() {
$this->sessionStore = [];
}