Completed
Pull Request — master (#195)
by
unknown
355:59 queued 352:34
created

TwitterBootstrap3View   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 15
ccs 0
cts 8
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A createDefaultTemplate() 0 4 1
A getName() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Pagerfanta package.
5
 *
6
 * (c) Pablo Díez <[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 SumoCoders\FrameworkCoreBundle\Twig;
13
14
use SumoCoders\FrameworkCoreBundle\Twig\TwitterBootstrap3Template;
15
use Pagerfanta\View\TwitterBootstrapView;
16
17
/**
18
 * TwitterBootstrap3View.
19
 *
20
 * View that can be used with the pagination module
21
 * from the Twitter Bootstrap3 CSS Toolkit
22
 * http://getbootstrap.com/
23
 *
24
 */
25
class TwitterBootstrap3View extends TwitterBootstrapView
26
{
27
    protected function createDefaultTemplate()
28
    {
29
        return new TwitterBootstrap3Template();
30
    }
31
32
    /**
33
     * {@inheritdoc}
34
     */
35
    public function getName()
36
    {
37
        return 'sumocoders';
38
    }
39
}
40