smartycompilerexception.php (730B)
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 * The template source snippet relating to the error 23 * 24 * @type string|null 25 */ 26 public $source = null; 27 /** 28 * The raw text of the error message 29 * 30 * @type string|null 31 */ 32 public $desc = null; 33 /** 34 * The resource identifier or template name 35 * 36 * @type string|null 37 */ 38 public $template = null; 39 }