]> git.mxchange.org Git - friendica.git/blob - vendor/smarty/smarty/libs/sysplugins/smartycompilerexception.php
Add Smarty to Composer
[friendica.git] / vendor / smarty / smarty / libs / sysplugins / smartycompilerexception.php
1 <?php
2
3 /**
4  * Smarty compiler exception class
5  *
6  * @package Smarty
7  */
8 class SmartyCompilerException extends SmartyException
9 {
10     public function __toString()
11     {
12         return ' --> Smarty Compiler: ' . $this->message . ' <-- ';
13     }
14
15     /**
16      * The line number of the template error
17      *
18      * @type int|null
19      */
20     public $line = null;
21
22     /**
23      * The template source snippet relating to the error
24      *
25      * @type string|null
26      */
27     public $source = null;
28
29     /**
30      * The raw text of the error message
31      *
32      * @type string|null
33      */
34     public $desc = null;
35
36     /**
37      * The resource identifier or template name
38      *
39      * @type string|null
40      */
41     public $template = null;
42 }