| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class ReportBundle extends Bundle |
||
| 13 | { |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $name = 'ReportBundle'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return string |
||
| 22 | */ |
||
| 23 | 1 | public function getPath() |
|
| 24 | { |
||
| 25 | 1 | return __DIR__; |
|
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return ExtensionInterface |
||
| 30 | */ |
||
| 31 | 2 | public function getContainerExtension() |
|
| 32 | { |
||
| 33 | 2 | if ($this->extension === null) { |
|
| 34 | 2 | $this->extension = new ApiExtension(); |
|
| 35 | } |
||
| 36 | |||
| 37 | 2 | return $this->extension; |
|
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | 1 | public function getContainerExtensionClass() |
|
| 46 | } |
||
| 47 | |||
| 48 | } |
||
| 49 |