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

Tag::getSequence()   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
/**
6
 * @Annotation
7
 * @Target("PROPERTY")
8
 */
9
class Tag extends AbstractTag
10
{
11
    private $options;
12
13
    public function __construct(array $options)
14
    {
15
        $this->options = $options;
16
    }
17
18
    public function getSequence()
19
    {
20
        return $this->options['sequence'];
21
    }
22
23
    protected function getName()
24
    {
25
        return $this->options['name'];
26
    }
27
28
    protected function getTransformers()
29
    {
30
        return $this->options['transformers'];
31
    }
32
}
33