protected property MockSessionTrait::$requestStack in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/stream_wrapper_example/tests/src/Traits/MockSessionTrait.php \Drupal\Tests\stream_wrapper_example\Traits\MockSessionTrait::requestStack
A representation of the HTTP request.
Type: \Symfony\Component\HttpFoundation\RequestStack|\Prophecy\Prophecy\ProphecyInterface
File
- stream_wrapper_example/
tests/ src/ Traits/ MockSessionTrait.php, line 28
Class
- MockSessionTrait
- A trait to expose a mock session type to PHPUnit tests.
Namespace
Drupal\Tests\stream_wrapper_example\TraitsCode
protected $requestStack;