<?php
namespace Kunstmaan\TranslatorBundle;
use Kunstmaan\TranslatorBundle\DependencyInjection\Compiler\DeprecateClassParametersPass;
use Kunstmaan\TranslatorBundle\DependencyInjection\Compiler\KunstmaanTranslatorCompilerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class KunstmaanTranslatorBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new KunstmaanTranslatorCompilerPass());
$container->addCompilerPass(new DeprecateClassParametersPass());
}
}