Completed
Push — master ( cf8ab0...30f4d3 )
by Jérémy
02:16
created

ReaderBuilder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 6 1
1
<?php
2
3
namespace JDecool\JsonFeed\Reader;
4
5
use JDecool\JsonFeed\Versions;
6
7
class ReaderBuilder
8
{
9
    /**
10
     * Builder a reader
11
     *
12
     * @return Reader
13
     */
14
    public function build()
15
    {
16
        return new Reader([
17
            Versions::VERSION_1 => Version1\FeedReader::create(),
18
        ]);
19
    }
20
}
21