Upgrade Twig library

This commit is contained in:
Michael Foster 2013-08-01 15:20:12 -04:00
parent 22f3a95e0e
commit 0fe5528574
133 changed files with 5080 additions and 1386 deletions

View file

@ -12,8 +12,8 @@
/**
* Interface implemented by all compiled templates.
*
* @package twig
* @author Fabien Potencier <fabien@symfony.com>
* @author Fabien Potencier <fabien@symfony.com>
* @deprecated since 1.12 (to be removed in 2.0)
*/
interface Twig_TemplateInterface
{
@ -28,7 +28,7 @@ interface Twig_TemplateInterface
*
* @return string The rendered template
*/
function render(array $context);
public function render(array $context);
/**
* Displays the template with the given context.
@ -36,12 +36,12 @@ interface Twig_TemplateInterface
* @param array $context An array of parameters to pass to the template
* @param array $blocks An array of blocks to pass to the template
*/
function display(array $context, array $blocks = array());
public function display(array $context, array $blocks = array());
/**
* Returns the bound environment for this template.
*
* @return Twig_Environment The current environment
*/
function getEnvironment();
public function getEnvironment();
}