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

namespace SSRS\Object;

class RenderStream extends ObjectAbstract {

    public $Result;
    public $MimeType;

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

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

}