class EscapingFlagProcessor implements TemplateProcessorInterface (View source)

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

Properties

protected RenderingContextInterface $renderingContext
static $SCAN_PATTERN_ESCAPINGMODIFIER

Methods

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

setRenderingContext(RenderingContextInterface $renderingContext)

No description

Parameters

RenderingContextInterface $renderingContext

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