You are here

protected property SessionStreamWrapper::$sessionContent in Examples for Developers 3.x

Same name and namespace in other branches
  1. 8 stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php \Drupal\stream_wrapper_example\StreamWrapper\SessionStreamWrapper::sessionContent

The content of the stream.

Since this trivial example uses the session object, this is a reference to the the session object's 'stream_wrapper_example' key.

Type: array

File

modules/stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php, line 105

Class

SessionStreamWrapper
Example stream wrapper class to handle session:// streams.

Namespace

Drupal\stream_wrapper_example\StreamWrapper

Code

protected $sessionContent;