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:

TokenParserBrokerInterface.php
23 23
    /**
24 24
     * Gets a TokenParser suitable for a tag.
25 25
     *
26
     * @param  string $tag A tag name
26
     * @param string $tag A tag name
27 27
     *
28 28
     * @return null|Twig_TokenParserInterface A Twig_TokenParserInterface or null if no suitable TokenParser was found
29 29
     */
30
    function getTokenParser($tag);
30
    public function getTokenParser($tag);
31 31

  
32 32
    /**
33 33
     * Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of.
34 34
     *
35 35
     * @param Twig_ParserInterface $parser A Twig_ParserInterface interface
36 36
     */
37
    function setParser(Twig_ParserInterface $parser);
37
    public function setParser(Twig_ParserInterface $parser);
38 38

  
39 39
    /**
40 40
     * Gets the Twig_ParserInterface.
41 41
     *
42
     * @return null|Twig_ParserInterface A Twig_ParserInterface instance of null
42
     * @return null|Twig_ParserInterface A Twig_ParserInterface instance or null
43 43
     */
44
    function getParser();
44
    public function getParser();
45 45
}

Also available in: Unified diff