String elemName = name.getValue().replaceAll("['\"]", "");
JSONObject metadata = new JSONObject();
metadata.put(TwigType.PHPCLASS, currentClass.getName());
Function function = new Function(elemName);
function.setPhpClass(currentClass.getName());
function.setInternalFunction(internalFunction.getValue().replaceAll("['\"]", ""));
functions.add(function);
}
}
return true;
}