protected property MockSessionTrait::$sessionStore in Examples for Developers 3.x
Same name and namespace in other branches
- 8 stream_wrapper_example/tests/src/Traits/MockSessionTrait.php \Drupal\Tests\stream_wrapper_example\Traits\MockSessionTrait::sessionStore
We'll use this array to back our mock session.
Type: array
File
- modules/
stream_wrapper_example/ tests/ src/ Traits/ MockSessionTrait.php, line 21
Class
- MockSessionTrait
- A trait to expose a mock session type to PHPUnit tests.
Namespace
Drupal\Tests\stream_wrapper_example\TraitsCode
protected $sessionStore;