<?php
/*
* This file is part of the KnpDisqusBundle package.
*
* (c) KnpLabs <hello@knplabs.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Knp\Bundle\DisqusBundle;
use Knp\Bundle\DisqusBundle\DependencyInjection\Compiler\TwigPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
/**
* KnpDisqusBundle.
*
* @author Józef Bielawski <jozef.bielawski@gmail.com>
* @author Sadicov Vladimir <vladimir@symfonycasts.com>
*/
class KnpDisqusBundle extends Bundle
{
public function build(ContainerBuilder $container): void
{
parent::build($container);
$container->addCompilerPass(new TwigPass());
}
public function getPath(): string
{
return \dirname(__DIR__);
}
}