forked from gepur-it/report-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathReportBundle.php
More file actions
36 lines (31 loc) · 757 Bytes
/
ReportBundle.php
File metadata and controls
36 lines (31 loc) · 757 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
35
36
<?php
/**
* @author Marina Mileva <m934222258@gmail.com>
* @since 22.11.17
*/
namespace GepurIt\ReportBundle;
use GepurIt\ReportBundle\DependencyInjection\ReportExtension;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* Class ReportBundle
* @package ReportBundle
*/
class ReportBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
}
/**
* Register Bundle Extension
* @return ReportExtension
*/
public function getContainerExtension()
{
if (null === $this->extension) {
$this->extension = new ReportExtension();
}
return $this->extension;
}
}