src/i18n/Messages/Symfony/SymfonyMessageProvider.php
protected function templateInjection($injection)
    {
        $injection = $injection ?: [];
        // Rewrite injection to {} surrounded placeholders
        $arguments = array_combine(
            array_map(function ($val) {
                return '{' . $val . '}';
            }, array_keys($injection)),
            $injection
        );
        return $arguments;
    }
protected function templateInjection($injection)
    {
        $injection = $injection ?: [];
        // Rewrite injection to {} surrounded placeholders
        $arguments = array_combine(
            array_map(function ($val) {
                return '{' . $val . '}';
            }, array_keys($injection)),
            $injection
        );
        return $arguments;
    }
protected function templateInjection ( $ injection ) { $ injection = $ injection ? : [ ] ; // Rewrite injection to {} surrounded placeholders $ arguments = array_combine ( array_map ( function ( $ val ) { return '{' . $ val . '}' ; } , array_keys ( $ injection ) ) , $ injection ) ; return $ arguments ; }
Generate template safe injection parameters

@param array $injection
@return array Injection array with all keys surrounded with {} placeholders
Generate template safe injection parameters