class EscapingFlagProcessor implements TemplateProcessorInterface (View source)

Preprocessor to detect the "escapingEnabled" inline flag in a template.

Properties

protected RenderingContextInterface $renderingContext
static string $SCAN_PATTERN_ESCAPINGMODIFIER

Methods

void
setRenderingContext(RenderingContextInterface $renderingContext)

No description

string
preProcessSource(string $templateSource)

Pre-process the template source before it is returned to the TemplateParser or passed to the next TemplateProcessorInterface instance.

Details

void setRenderingContext(RenderingContextInterface $renderingContext)

No description

Parameters

RenderingContextInterface $renderingContext

Return Value

void

string preProcessSource(string $templateSource)

Pre-process the template source before it is returned to the TemplateParser or passed to the next TemplateProcessorInterface instance.

Parameters

string $templateSource

Return Value

string