Completed
Pull Request — develop (#27)
by Chris
10:31
created

AbstractCore::getStream()   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\Core;
4
5
use Chrisyue\PhpM3u8\Stream\StreamInterface;
6
use Chrisyue\PhpM3u8\M3u8\SequenceAwareInterface;
7
8
abstract class AbstractCore implements CoreInterface
9
{
10
    private $stream;
11
12
    public function setStream(StreamInterface $stream)
13
    {
14
        $this->stream = $stream;
15
16
        return $this;
17
    }
18
19
    protected function getStream()
20
    {
21
        return $this->stream;
22
    }
23
}
24