WeglotTranslateBundle.php
<?php
namespace Weglot\TranslateBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Weglot\TranslateBundle\DependencyInjection\Compiler\RouterCompilerPass;
/**
* Class WeglotTranslateBundle
* @package Weglot\TranslateBundle
*/
class WeglotTranslateBundle extends Bundle
{
/**
* Integration version
*
* @var string
*/
const VERSION = '0.7.2';
/**
* {@inheritdoc}
*/
public function build(ContainerBuilder $container)
{
$container->addCompilerPass(new RouterCompilerPass());
}
}