private static function formatArgsForExpression(array $args)
    {
        $mapping = [];
        foreach ($args as $name => $config) {
            $mapping[] = \sprintf('%s: "%s"', $name, $config['type']);
        }

        return \sprintf('arguments({%s}, args)', \implode(', ', $mapping));
    }
private static function formatArgsForExpression(array $args)
    {
        $mapping = [];
        foreach ($args as $name => $config) {
            $mapping[] = \sprintf('%s: "%s"', $name, $config['type']);
        }

        return \sprintf('arguments({%s}, args)', \implode(', ', $mapping));
    }
private static function formatArgsForExpression ( array $ args ) { $ mapping = [ ] ; foreach ( $ args as $ name => $ config ) { $ mapping [ ] = \ sprintf ( '%s: "%s"' , $ name , $ config [ 'type' ] ) ; } return \ sprintf ( 'arguments({%s}, args)' , \ implode ( ', ' , $ mapping ) ) ; }
Format an array of args to a list of arguments in an expression.

@param array $args

@return string
Format an array of args to a list of arguments in an expression .