private static function registerAggregations(BladeCompiler $compiler)
    {
        $compiler->directive('money_min', function ($expression) {
            return "<?php echo money_min(${expression}); ?>";
        });

        $compiler->directive('money_max', function ($expression) {
            return "<?php echo money_max(${expression}); ?>";
        });

        $compiler->directive('money_avg', function ($expression) {
            return "<?php echo money_avg(${expression}); ?>";
        });

        $compiler->directive('money_sum', function ($expression) {
            return "<?php echo money_sum(${expression}); ?>";
        });
    }