summaryrefslogtreecommitdiffstats
path: root/library/SSRS/Object/RenderStream.php
blob: a1027f8c91f94f7c3f72f50ceeca27ab160f6459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

/**
 * SSRS_Object_RenderStream
 *
 * @author arron
 */
class SSRS_Object_RenderStream extends SSRS_Object_Abstract {

    public $Result;
    public $MimeType;

    public function __construct(stdClass $stream) {
        $this->Result = $stream->Result;
        $this->MimeType = $stream->MimeType;
    }

    public function __toString() {
        return $this->Result;
    }

}