protected $compileFlags = LightnCandy::FLAG_ERROR_EXCEPTION;
/**
- * @param string $templateDir
+ * @param string|null $templateDir
* @param bool $forceRecompile
*/
public function __construct( $templateDir = null, $forceRecompile = false ) {
}
/**
- * Constructs the location of the the source Mustache template
+ * Constructs the location of the source Mustache template
* @param string $templateName The name of the template
* @return string
* @throws UnexpectedValueException If $templateName attempts upwards directory traversal
* );
* @endcode
* @param string $templateName The name of the template
+ * @param-taint $templateName exec_misc
* @param mixed $args
+ * @param-taint $args none
* @param array $scopes
+ * @param-taint $scopes none
* @return string
*/
public function processTemplate( $templateName, $args, array $scopes = [] ) {