static
setPlaceholderFormatterDefinition(string $name, callable $callable)
Sets a placeholder formatter for a given name. This method also allow you to override an existing placeholder.
Parameters string $name The placeholder name (including the delimiter char like %) callable $callable A PHP callable