/** @internal */
public $safeLookup =
[];
/**
* @param string|false|callable $defaultStrategy An escaping strategy
*
* @see setDefaultStrategy()
*/
public function __construct($defaultStrategy = 'html'
) { $this->
setDefaultStrategy($defaultStrategy);
} public function getTokenParsers(): array
{ return [new AutoEscapeTokenParser()];
} public function getNodeVisitors(): array
{ return [new EscaperNodeVisitor()];
}