ErrorController
in package
implements
ErrorControllerInterface
AbstractYes
Table of Contents
Interfaces
Properties
- $exception : Exception
- $info : array<string|int, mixed>
- $url : string
- $response : Response
Methods
- __construct() : mixed
- canShowDebugInfo() : bool
- canShowDeployButtons() : bool
- html() : string
- htmlCodeFragmentCard() : string
- htmlContainer() : string
- htmlErrorCard() : string
- htmlLogCard() : string
- response() : Response
- save() : void
Properties
$exception
protected
Exception
$exception
$info
protected
array<string|int, mixed>
$info
$url
protected
string
$url
$response
private
Response
$response
Methods
__construct()
public
__construct(Exception $exception[, string $url = '' ]) : mixed
Parameters
- $exception : Exception
- $url : string = ''
canShowDebugInfo()
protected
canShowDebugInfo() : bool
Return values
boolcanShowDeployButtons()
protected
canShowDeployButtons() : bool
Return values
boolhtml()
protected
html(string $title, string $body) : string
Parameters
- $title : string
- $body : string
Return values
stringhtmlCodeFragmentCard()
protected
htmlCodeFragmentCard() : string
Return values
stringhtmlContainer()
protected
htmlContainer(string $content) : string
Parameters
- $content : string
Return values
stringhtmlErrorCard()
protected
htmlErrorCard(string $content[, bool $report_btn = false ][, bool $action_buttons = false ]) : string
Parameters
- $content : string
- $report_btn : bool = false
- $action_buttons : bool = false
Return values
stringhtmlLogCard()
protected
htmlLogCard() : string
Return values
stringresponse()
protected
response() : Response
Return values
Responsesave()
protected
save() : void