function SessionHelper::cleanUpStore
Same name in other branches
- 8.x-1.x stream_wrapper_example/src/SessionHelper.php \Drupal\stream_wrapper_example\SessionHelper::cleanUpStore()
- 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_exampleCode
public function cleanUpStore() {
$session = $this->getSession();
$session->remove(static::SESSION_BASE_ATTRIBUTE);
}