copy

Creates a copy of this template processor with the same injected properties.

Return

a new TemplateProcessor with the same injections, and the new text

Parameters

text

new text the template