forked from stwe/DatatablesBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSgDatatablesBundle.php
More file actions
34 lines (29 loc) · 811 Bytes
/
SgDatatablesBundle.php
File metadata and controls
34 lines (29 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/**
* This file is part of the SgDatatablesBundle package.
*
* (c) stwe <https://github.com/stwe/DatatablesBundle>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sg\DatatablesBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Sg\DatatablesBundle\DependencyInjection\Compiler\DatatableViewPass;
/**
* Class SgDatatablesBundle
*
* @package Sg\DatatablesBundle
*/
class SgDatatablesBundle extends Bundle
{
/**
* @param ContainerBuilder $container
*/
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new DatatableViewPass());
}
}