diff --git a/src/Smarty.php b/src/Smarty.php index 881e7b8b..673b1ad5 100644 --- a/src/Smarty.php +++ b/src/Smarty.php @@ -2335,6 +2335,9 @@ class Smarty extends \Smarty\TemplateBase return $this; } + public function setAllowAmbiguousResources(bool $allow) { + $this->allow_ambiguous_resources = $allow; + } } diff --git a/src/TemplateBase.php b/src/TemplateBase.php index 87a075f1..aab4aa37 100644 --- a/src/TemplateBase.php +++ b/src/TemplateBase.php @@ -308,6 +308,13 @@ abstract class TemplateBase extends Data { return $this; } + /** + * @return int + */ + public function getCompileCheck(): int { + return $this->compile_check; + } + /** * @param int $compile_check */