src/View/Twig/TwigLoader.php
/**
	 * Adds the provided extensions to the Twig environment instance.
	 *
	 * @param Twig_Environment $environment
	 * @param Twig_Extension[] $extensions
	 */
Adds the provided extensions to the Twig environment instance.
Adds the provided extensions to the Twig environment instance .
protected function addExtensions(Twig_Environment $environment, array $extensions) {
		foreach ($extensions as $extension) {
			$environment->addExtension($extension);
		}
	}
protected function addExtensions ( Twig_Environment $ environment , array $ extensions ) { foreach ( $ extensions as $ extension ) { $ environment -> addExtension ( $ extension ) ; } }
Adds the provided extensions to the Twig environment instance.
Adds the provided extensions to the Twig environment instance .