forked from leftypol/leftypol
Upgrade Twig library
This commit is contained in:
parent
22f3a95e0e
commit
0fe5528574
133 changed files with 5080 additions and 1386 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue