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

AttrString   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 createTransformer() 0 4 1
A createReverser() 0 4 1
1
<?php
2
3
namespace Chrisyue\PhpM3u8\Transformer\Factory\Annotation;
4
5
use Chrisyue\PhpM3u8\Transformer\Factory\FactoryInterface;
6
use Chrisyue\PhpM3u8\Transformer\QuotedStringTransformer;
7
8
/**
9
 * @Annotation
10
 */
11
class AttrString implements FactoryInterface
12
{
13
    public function createTransformer()
14
    {
15
        return new QuotedStringTransformer();
16
    }
17
18
    public function createReverser()
19
    {
20
        
21
    }
22
}
23