Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (21 sloc) 657 Bytes
* This file is part of the Symfony framework.
* (c) Fabien Potencier <>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
namespace Knp\Bundle\TranslatorBundle;
use Knp\Bundle\TranslatorBundle\DependencyInjection\Compiler\TranslatorPass;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
class KnpTranslatorBundle extends Bundle
public function build(ContainerBuilder $container)
$container->addCompilerPass(new TranslatorPass());