Completed
Push — 146-change-the-paginator-bundl... ( a2c23a...f93d38 )
by
unknown
64:22
created

TwitterBootstrap3View::createDefaultTemplate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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