You are here

protected function StreamWrapperTest::getCurrentStore in Examples for Developers 8

Same name and namespace in other branches
  1. 3.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

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('');
}