Files
masimmo.pl/vendor/prestashop/translationtools-bundle/TranslationToolsBundle.php
2024-11-20 09:09:44 +01:00

18 lines
602 B
PHP

<?php
namespace PrestaShop\TranslationToolsBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use PrestaShop\TranslationToolsBundle\DependencyInjection\CompilerPass\ExtractorCompilerPass;
use PrestaShop\TranslationToolsBundle\DependencyInjection\CompilerPass\TranslationCompilerPass;
class TranslationToolsBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
$container->addCompilerPass(new ExtractorCompilerPass());
$container->addCompilerPass(new TranslationCompilerPass());
}
}