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:

Loader.php
12 12
/**
13 13
 * Exception thrown when an error occurs during template loading.
14 14
 *
15
 * Automatic template information guessing is always turned off as
16
 * if a template cannot be loaded, there is nothing to guess.
17
 * However, when a template is loaded from another one, then, we need
18
 * to find the current context and this is automatically done by
19
 * Twig_Template::displayWithErrorHandling().
20
 *
21
 * This strategy makes Twig_Environment::resolveTemplate() much faster.
22
 *
15 23
 * @package    twig
16 24
 * @author     Fabien Potencier <fabien@symfony.com>
17 25
 */
18 26
class Twig_Error_Loader extends Twig_Error
19 27
{
28
    public function __construct($message, $lineno = -1, $filename = null, Exception $previous = null)
29
    {
30
        parent::__construct($message, false, false, $previous);
31
    }
20 32
}

Also available in: Unified diff