AbstractFeedType   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
c 0
b 0
f 0
lcom 0
cbo 0
dl 0
loc 18
ccs 0
cts 8
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getNamespaces() 0 4 1
A getTtl() 0 4 1
1
<?php
2
3
namespace TreeHouse\IoBundle\Export\FeedType;
4
5
/**
6
 * Abstract class to create a new Feed Type with specific settings.
7
 */
8
abstract class AbstractFeedType implements FeedTypeInterface
9
{
10
    /**
11
     * @inheritdoc
12
     */
13
    public function getNamespaces()
14
    {
15
        return [];
16
    }
17
18
    /**
19
     * @inheritdoc
20
     */
21
    public function getTtl()
22
    {
23
        return 180;
24
    }
25
}
26