private function registerBladeExtensions()
    {
        Blade::directive('repeater', function ($expression = []) {
            return "<?php echo \RenderEngine::renderRepeater({$expression}); ?>";
        });

        Blade::directive('field', function ($expression = []) {
            return "<?php echo \RenderEngine::renderField({$expression}); ?>";
        });

        Blade::directive('render', function ($expression = []) {
            return "<?php echo \RenderEngine::render({$expression}); ?>";
        });
    }