You are here

function cmisStreamAsString::__construct in CMIS API 7

Create a new wrapper for the given stream.

File

cmis_common/cmis_common.module, line 153

Class

cmisStreamAsString
A class to hold a reference to a stream, but that can pretend to be a string.

Code

function __construct($stream) {
  $this->stream = $stream;
}