Completed
Push — 1.x ( ee8545...084efb )
by Joel
02:48
created

BuildFrame::setStream()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace Docker\Stream;
4
5
class BuildFrame
6
{
7
    /** @var string Stream message */
8
    private $stream;
9
10
    /** @var string Error message */
11
    private $error;
12
13
    /**
14
     * @return string
15
     */
16
    public function getStream()
17
    {
18
        return $this->stream;
19
    }
20
21
    /**
22
     * @param string $stream
23
     */
24
    public function setStream($stream)
25
    {
26
        $this->stream = $stream;
27
    }
28
29
    /**
30
     * @return string
31
     */
32
    public function getError()
33
    {
34
        return $this->error;
35
    }
36
37
    /**
38
     * @param string $error
39
     */
40
    public function setError($error)
41
    {
42
        $this->error = $error;
43
    }
44
}
45