Project

General

Profile

« Previous | Next » 

Revision 1852

Added by darkviper over 11 years ago

updated Twig template engine to stable version 1.11.1 step2

View differences:

ExtensionInterface.php
24 24
     *
25 25
     * @param Twig_Environment $environment The current Twig_Environment instance
26 26
     */
27
    function initRuntime(Twig_Environment $environment);
27
    public function initRuntime(Twig_Environment $environment);
28 28

  
29 29
    /**
30 30
     * Returns the token parser instances to add to the existing list.
31 31
     *
32 32
     * @return array An array of Twig_TokenParserInterface or Twig_TokenParserBrokerInterface instances
33 33
     */
34
    function getTokenParsers();
34
    public function getTokenParsers();
35 35

  
36 36
    /**
37 37
     * Returns the node visitor instances to add to the existing list.
38 38
     *
39 39
     * @return array An array of Twig_NodeVisitorInterface instances
40 40
     */
41
    function getNodeVisitors();
41
    public function getNodeVisitors();
42 42

  
43 43
    /**
44 44
     * Returns a list of filters to add to the existing list.
45 45
     *
46 46
     * @return array An array of filters
47 47
     */
48
    function getFilters();
48
    public function getFilters();
49 49

  
50 50
    /**
51 51
     * Returns a list of tests to add to the existing list.
52 52
     *
53 53
     * @return array An array of tests
54 54
     */
55
    function getTests();
55
    public function getTests();
56 56

  
57 57
    /**
58 58
     * Returns a list of functions to add to the existing list.
59 59
     *
60 60
     * @return array An array of functions
61 61
     */
62
    function getFunctions();
62
    public function getFunctions();
63 63

  
64 64
    /**
65 65
     * Returns a list of operators to add to the existing list.
66 66
     *
67 67
     * @return array An array of operators
68 68
     */
69
    function getOperators();
69
    public function getOperators();
70 70

  
71 71
    /**
72 72
     * Returns a list of global variables to add to the existing list.
73 73
     *
74 74
     * @return array An array of global variables
75 75
     */
76
    function getGlobals();
76
    public function getGlobals();
77 77

  
78 78
    /**
79 79
     * Returns the name of the extension.
80 80
     *
81 81
     * @return string The extension name
82 82
     */
83
    function getName();
83
    public function getName();
84 84
}

Also available in: Unified diff