ErrorViewRenderer
- Full name:
\Codefy\Framework\View\ErrorViewRenderer - This class is marked as final and can't be subclassed
- This class is a Final class
Properties
app
fileSystem
Methods
__construct
public __construct(\Codefy\Framework\Application $app, \Qubus\FileSystem\FileSystem $fileSystem): mixed
Parameters:
| Parameter | Type | Description |
|---|---|---|
$app | \Codefy\Framework\Application | |
$fileSystem | \Qubus\FileSystem\FileSystem |
render
Parameters:
| Parameter | Type | Description |
|---|---|---|
$code | int |
Throws:
toResponse
Parameters:
| Parameter | Type | Description |
|---|---|---|
$html | string |
Throws:
loadTemplate
Throws:
replaceTags
Parameters:
| Parameter | Type | Description |
|---|---|---|
$template | string | |
$code | int | |
$message | string |