weglot/translate-bundle

View on GitHub
WeglotTranslateBundle.php

Summary

Maintainability
A
0 mins
Test Coverage
<?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());
    }
}