Completed
Push — master ( 583713...989906 )
by WEBEWEB
05:28
created

JQueryDataTablesBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 3
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 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;
13
14
use Symfony\Component\DependencyInjection\ContainerBuilder;
15
use Symfony\Component\HttpKernel\Bundle\Bundle;
16
use WBW\Bundle\JQuery\DatatablesBundle\DependencyInjection\Compiler\JQueryDataTablesCompilerPass;
17
18
/**
19
 * jQuery DataTables bundle.
20
 *
21
 * @author webeweb <https://github.com/webeweb/>
22
 * @package WBW\Bundle\jQuery\DatatablesBundle
23
 * @final
24
 */
25
final class JQueryDataTablesBundle extends Bundle {
26
27
    /**
28
     * {@inheritdoc}
29
     */
30
    public function build(ContainerBuilder $container) {
31
        $container->addCompilerPass(new JQueryDataTablesCompilerPass());
32
    }
33
34
}
35