<?php
namespace Project\Installer\Helpers;
class ErrorHelper {
/**
* Return Common Error View
* @param string|array $content
*/
public function redirectErrorPage(string | array $content) {
$page_title = "Installation - Error - " . (is_array($content)) ? $content[0] : $content;
return view('installer.pages.error',compact('page_title','content'));
}
}
For code examples and implementation guides, please refer to the “Examples” section on our developer portal. Go to GitHub Repository