* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Bundle. * * @author Fabien Potencier */ class TwigBundle extends Bundle { /** * Customizes the Container instance. * * @param ParameterBagInterface $parameterBag A ParameterBagInterface instance * * @return ContainerBuilder A ContainerBuilder instance */ public function buildContainer(ParameterBagInterface $parameterBag) { ContainerBuilder::registerExtension(new TwigExtension()); } }