Completed
Pull Request — develop (#27)
by Chris
02:25
created

Uri   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A createParser() 0 4 1
A createDumper() 0 4 1
1
<?php
2
3
namespace Chrisyue\PhpM3u8\PdFactory\Annotation;
4
5
use Chrisyue\PhpM3u8\PdFactory\PdFactoryInterface;
6
use Chrisyue\PhpM3u8\Parser\UriParser;
7
8
/**
9
 * @Annotation
10
 */
11
class Uri implements PdFactoryInterface
12
{
13
    public function createParser()
14
    {
15
        return new UriParser();
16
    }
17
18
    public function createDumper()
19
    {
20
        
21
    }
22
}
23