Completed
Push — master ( ab1236...064006 )
by WEBEWEB
07:09
created

AbstractDataTablesTwigExtension   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A dataTablesTable() 0 3 1
A datatablesTFoot() 0 3 1
A datatablesTHead() 0 3 1
1
<?php
2
3
/**
4
 * This file is part of the jquery-datatables-bundle package.
5
 *
6
 * (c) 2018 WEBEWEB
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 WBW\Bundle\JQuery\DatatablesBundle\Twig\Extension;
13
14
use Twig_Extension;
15
16
/**
17
 * Abstract DataTables Twig extension.
18
 *
19
 * @author webeweb <https://github.com/webeweb/>
20
 * @package WBW\Bundle\JQuery\DatatablesBundle\Twig\Extension
21
 * @abstract
22
 */
23
abstract class AbstractDataTablesTwigExtension extends Twig_Extension {
24
25
    /**
26
     * Constructor.
27
     */
28
    public function __construct() {
29
        // NOTHING TO DO.
30
    }
31
32
    protected function dataTablesTable(DataTablesWrapper $dtWrapper) {
0 ignored issues
show
Unused Code introduced by
The parameter $dtWrapper is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
33
        
34
    }
35
36
    protected function datatablesTFoot(DataTablesWrapper $dtWrapper) {
0 ignored issues
show
Unused Code introduced by
The parameter $dtWrapper is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
37
38
    }
39
40
    protected function datatablesTHead(DataTablesWrapper $dtWrapper) {
0 ignored issues
show
Unused Code introduced by
The parameter $dtWrapper is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
41
42
    }
43
44
}
45