source/php/Helper/RenderBlade.php
public static function blade($view, $data = array(), $viewPath = EVENTMANAGERINTEGRATION_VIEW_PATH)
    {
        if (!file_exists(EVENTMANAGERINTEGRATION_CACHE_DIR)) {
            mkdir(EVENTMANAGERINTEGRATION_CACHE_DIR, 0777, true);
        }

        $blade = new Blade($viewPath, EVENTMANAGERINTEGRATION_CACHE_DIR);
        return $blade->view()->make($view, $data)->render();
    }
public static function blade($view, $data = array(), $viewPath = EVENTMANAGERINTEGRATION_VIEW_PATH)
    {
        if (!file_exists(EVENTMANAGERINTEGRATION_CACHE_DIR)) {
            mkdir(EVENTMANAGERINTEGRATION_CACHE_DIR, 0777, true);
        }

        $blade = new Blade($viewPath, EVENTMANAGERINTEGRATION_CACHE_DIR);
        return $blade->view()->make($view, $data)->render();
    }
Return markup from a Blade template
@param  string $view     View name
@param  array  $data     View data
@param  string $viewPath Path to the blade views
@return string           The markup