TwitterBootstrap3View   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 50%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 15
ccs 2
cts 4
cp 0.5
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A createDefaultTemplate() 0 4 1
A getName() 0 4 1
1
<?php
2
3
namespace SumoCoders\FrameworkCoreBundle\Twig;
4
5
use SumoCoders\FrameworkCoreBundle\Twig\TwitterBootstrap3Template;
6
use Pagerfanta\View\TwitterBootstrapView;
7
8
class TwitterBootstrap3View extends TwitterBootstrapView
9
{
10 8
    protected function createDefaultTemplate()
11
    {
12 8
        return new TwitterBootstrap3Template();
13
    }
14
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function getName()
19
    {
20
        return 'sumocoders';
21
    }
22
}
23