Render view in utility

I am using cakephp 3.4 and i created a utility class. I want to render a ctp file html in a function of utility. Can you please help me if it is possible.


Wanting to do that is usually a sign that your design is wrong. Can you share more about the particular scenario? We might be able to provide a better overall suggestion.