Smarty v5 update test, initial code setup
This commit is contained in:
16
src/Exception.php
Normal file
16
src/Exception.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Smarty;
|
||||
|
||||
/**
|
||||
* Smarty exception class
|
||||
*/
|
||||
class Exception extends \Exception {
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function __toString() {
|
||||
return ' --> Smarty: ' . $this->message . ' <-- ';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user