function SessionHelper::cleanUpStore

Same name in other branches
  1. 8.x-1.x stream_wrapper_example/src/SessionHelper.php \Drupal\stream_wrapper_example\SessionHelper::cleanUpStore()
  2. 4.0.x modules/stream_wrapper_example/src/SessionHelper.php \Drupal\stream_wrapper_example\SessionHelper::cleanUpStore()

Zero out the store.

File

modules/stream_wrapper_example/src/SessionHelper.php, line 235

Class

SessionHelper
Helper to manage file wrapper data stored in the session object.

Namespace

Drupal\stream_wrapper_example

Code

public function cleanUpStore() {
    $session = $this->getSession();
    $session->remove(static::SESSION_BASE_ATTRIBUTE);
}