Completed
Pull Request — develop (#27)
by Chris
01:41
created

Playlist   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 14
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A dump() 0 6 1
A shouldParseNextLine() 0 4 1
1
<?php
2
3
namespace Chrisyue\PhpM3u8\M3u8\Core;
4
5
class Playlist extends AbstractAnnotationReadable
6
{
7
    public function dump($result)
8
    {
9
        $this->getLines()->write(['tag' => '#EXTM3U']);
10
11
        parent::dump($result);
12
    }
13
14
    protected function shouldParseNextLine($result)
15
    {
16
        return true;
17
    }
18
}
19