* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Bundle. * * @package Symfony * @subpackage Framework_TwigBundle * @author Fabien Potencier */ class TwigBundle extends Bundle { /** * Customizes the Container instance. * * @param Symfony\Components\DependencyInjection\ContainerInterface $container A ContainerInterface instance * * @return Symfony\Components\DependencyInjection\BuilderConfiguration A BuilderConfiguration instance */ public function buildContainer(ContainerInterface $container) { Loader::registerExtension(new TwigExtension()); } }