Sets a placeholder formatter for a given name.
This method also allow you to override an existing placeholder.
public static function setPlaceholderFormatterDefinition(string $name, callable $callable) : void { self::$formatters ??= self::initPlaceholderFormatters(); self::$formatters[$name] = $callable; }