class ModifierNode extends Node

Chain of filters with auto-escape flag.

Properties

deprecated $check

Methods

__construct(array $filters, bool $escape = false, Position|null $position = null)

No description

bool
hasFilter(string $name)

No description

FilterNode|null
removeFilter(string $name)

Removes and returns the first filter with the given name, or null if not found.

string
print(PrintContext $context)

No description

string
printSimple(PrintContext $context, string $expr)

No description

string
printContentAware(PrintContext $context, string $expr)

No description

getIterator()

No description

Details

at line 25
__construct(array $filters, bool $escape = false, Position|null $position = null)

No description

Parameters

array $filters
bool $escape
Position|null $position

at line 35
bool hasFilter(string $name)

No description

Parameters

string $name

Return Value

bool

at line 50
FilterNode|null removeFilter(string $name)

Removes and returns the first filter with the given name, or null if not found.

Parameters

string $name

Return Value

FilterNode|null

at line 62
string print(PrintContext $context)

No description

Parameters

PrintContext $context

Return Value

string

at line 68
string printSimple(PrintContext $context, string $expr)

No description

Parameters

PrintContext $context
string $expr

Return Value

string

at line 79
string printContentAware(PrintContext $context, string $expr)

No description

Parameters

PrintContext $context
string $expr

Return Value

string

at line 91
Generator getIterator()

No description

Return Value

Generator