/** * Called when the interpreter is to be reset. * * @param $parser Parser * @return bool */ public static function clearState(&$parser) { Scribunto::resetParserEngine($parser); return true; }