Completed
Push — master ( a775f9...497487 )
by Alex
07:59
created

Loader   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 4
dl 0
loc 18
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCommonStandards() 0 9 1
1
<?php
2
3
/*
4
 * This file is part of the feed-io package.
5
 *
6
 * (c) Alexandre Debril <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace FeedIo\Standard;
13
14
15
use FeedIo\Rule\DateTimeBuilder;
16
17
class Loader
18
{
19
20
    /**
21
     * @param DateTimeBuilder $builder
22
     * @return array
23
     */
24
    public function getCommonStandards(DateTimeBuilder $builder)
25
    {
26
        return array(
27
            'json' => new Json($builder),
28
            'atom' => new Atom($builder),
29
            'rss' => new Rss($builder),
30
            'rdf' => new Rdf($builder),
31
        );        
32
    }
33
    
34
}
35