function StreamWrapperTest::getCurrentStore

Same name in other branches
  1. 8.x-1.x stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php \Drupal\Tests\stream_wrapper_example\Kernel\StreamWrapperTest::getCurrentStore()
  2. 4.0.x modules/stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php \Drupal\Tests\stream_wrapper_example\Kernel\StreamWrapperTest::getCurrentStore()

Get the contents of the complete array stored in the session.

File

modules/stream_wrapper_example/tests/src/Kernel/StreamWrapperTest.php, line 130

Class

StreamWrapperTest
Test of the Session Stream Wrapper Class.

Namespace

Drupal\Tests\stream_wrapper_example\Kernel

Code

protected function getCurrentStore() {
    $handle = $this->getSessionHelper();
    return $handle->getPath('');
}