public class SubstituteFilter
There is 'replace' filter in core but takes a map as argument.
| Constructor and Description |
|---|
SubstituteFilter()
There is 'replace' filter in core but takes a map as argument.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
apply(java.lang.Object input,
java.util.Map<java.lang.String,java.lang.Object> args,
com.mitchellbosecke.pebble.template.PebbleTemplate self,
com.mitchellbosecke.pebble.template.EvaluationContext context,
int lineNumber) |
java.util.List<java.lang.String> |
getArgumentNames() |
public SubstituteFilter()
There is 'replace' filter in core but takes a map as argument.
@Nullable
public java.lang.Object apply(@NotNull
java.lang.Object input,
@NotNull
java.util.Map<java.lang.String,java.lang.Object> args,
@NotNull
com.mitchellbosecke.pebble.template.PebbleTemplate self,
@NotNull
com.mitchellbosecke.pebble.template.EvaluationContext context,
int lineNumber)
@Nullable public java.util.List<java.lang.String> getArgumentNames()