Completed
Pull Request — develop (#27)
by Chris
20:10 queued 05:10
created

AbstractM3u8::getResult()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Chrisyue\PhpM3u8\M3u8;
4
5
use Chrisyue\PhpM3u8\Stream\StreamInterface;
6
7
abstract class AbstractM3u8 implements M3u8Interface
8
{
9
    private $stream;
10
11
    private $result;
12
13
    public function setStream(StreamInterface $stream)
14
    {
15
        $this->stream = $stream;
16
17
        return $this;
18
    }
19
20
    public function getStream()
21
    {
22
        return $this->stream;
23
    }
24
25
    public function setResult($result)
26
    {
27
        $this->result = $result;
28
29
        return $this;
30
    }
31
32
    public function getResult()
33
    {
34
        return $this->result;
35
    }
36
}
37