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

BuildFrame   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 4
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 40
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getStream() 0 4 1
A setStream() 0 4 1
A getError() 0 4 1
A setError() 0 4 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