copy

fun copy(text: String = this.text): TemplateProcessor

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