function SessionHelper::__construct

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

Construct our helper object.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $request_stack: An object used to read data from the current HTTP request.

File

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

Class

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

Namespace

Drupal\stream_wrapper_example

Code

public function __construct(RequestStack $request_stack) {
    $this->requestStack = $request_stack;
    $this->storePath = '';
}