<?php
namespace Cms\SyncBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Cms\SyncBundle\DependencyInjection\Compiler\SyncHandlerCompilerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
/**
* Class CmsSyncBundle
* @package Cms\SyncBundle
*/
class CmsSyncBundle extends Bundle
{
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container)
{
// call parent
parent::build($container);
// register compiler passes
$container
->addCompilerPass(new SyncHandlerCompilerPass())
;
}
}