Project

General

Profile

« Previous | Next » 

Revision 1852

Added by darkviper almost 12 years ago

updated Twig template engine to stable version 1.11.1 step2

View differences:

TemplateInterface.php
28 28
     *
29 29
     * @return string The rendered template
30 30
     */
31
    function render(array $context);
31
    public function render(array $context);
32 32

  
33 33
    /**
34 34
     * Displays the template with the given context.
......
36 36
     * @param array $context An array of parameters to pass to the template
37 37
     * @param array $blocks  An array of blocks to pass to the template
38 38
     */
39
    function display(array $context, array $blocks = array());
39
    public function display(array $context, array $blocks = array());
40 40

  
41 41
    /**
42 42
     * Returns the bound environment for this template.
43 43
     *
44 44
     * @return Twig_Environment The current environment
45 45
     */
46
    function getEnvironment();
46
    public function getEnvironment();
47 47
}

Also available in: Unified diff