turnaev /
monitor-bundle
| 1 | <?php |
||
| 2 | |||
| 3 | /** |
||
| 4 | * This file is part of the `tvi/monitor-bundle` project. |
||
| 5 | * |
||
| 6 | * (c) https://github.com/turnaev/monitor-bundle/graphs/contributors |
||
| 7 | * |
||
| 8 | * For the full copyright and license information, please view the LICENSE.md |
||
| 9 | * file that was distributed with this source code. |
||
| 10 | */ |
||
|
0 ignored issues
–
show
Coding Style
introduced
by
Loading history...
|
|||
| 11 | |||
| 12 | namespace Tvi\MonitorBundle; |
||
| 13 | |||
| 14 | use Symfony\Component\DependencyInjection\Compiler\PassConfig; |
||
| 15 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
||
| 16 | use Symfony\Component\HttpKernel\Bundle\Bundle; |
||
| 17 | use Tvi\MonitorBundle\DependencyInjection\Compiler\AddCheckPluginsCompilerPass; |
||
| 18 | use Tvi\MonitorBundle\DependencyInjection\Compiler\AddReporterCompilerPass; |
||
| 19 | |||
| 20 | /** |
||
|
0 ignored issues
–
show
|
|||
| 21 | * @author Vladimir Turnaev <[email protected]> |
||
| 22 | */ |
||
|
0 ignored issues
–
show
|
|||
| 23 | class TviMonitorBundle extends Bundle |
||
| 24 | { |
||
| 25 | 50 | public function build(ContainerBuilder $container) |
|
|
0 ignored issues
–
show
|
|||
| 26 | { |
||
| 27 | 50 | parent::build($container); |
|
| 28 | |||
| 29 | $container |
||
| 30 | 50 | ->addCompilerPass(new AddCheckPluginsCompilerPass()) |
|
| 31 | 50 | ->addCompilerPass(new AddReporterCompilerPass()); |
|
| 32 | 50 | } |
|
| 33 | } |
||
| 34 |