public static function getPlaceholderFormatterDefinition(string $name): ?callable
    {
        if (!self::$formatters) {
            self::$formatters = self::initPlaceholderFormatters();
        }

        return isset(self::$formatters[$name]) ? self::$formatters[$name] : null;
    }
public static function getPlaceholderFormatterDefinition(string $name): ?callable
    {
        if (!self::$formatters) {
            self::$formatters = self::initPlaceholderFormatters();
        }

        return isset(self::$formatters[$name]) ? self::$formatters[$name] : null;
    }
public static function getPlaceholderFormatterDefinition ( string $ name ) : ? callable { if ( ! self :: $ formatters ) { self :: $ formatters = self :: initPlaceholderFormatters ( ) ; } return isset ( self :: $ formatters [ $ name ] ) ? self :: $ formatters [ $ name ] : null ; }
Gets the placeholder formatter for a given name.

@param string $name The placeholder name (including the delimiter char like %)

@return callable|null A PHP callable
Gets the placeholder formatter for a given name .