AuthenticationRequired
extends AuthenticationRequired
in package
Class created by Core/Internal/PluginsDeploy
Table of Contents
Properties
- $exception : Exception
- $info : array<string|int, mixed>
- $url : string
Methods
- __construct() : mixed
- Inicializa el controlador con la excepción que debe gestionar.
- run() : void
- Genera y envía la respuesta correspondiente al error, ya sea HTML, JSON o una redirección.
- 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
Methods
__construct()
Inicializa el controlador con la excepción que debe gestionar.
public
__construct(Exception $exception[, string $url = '' ]) : mixed
Parameters
- $exception : Exception
-
Excepción que ha interrumpido la ejecución de la petición.
- $url : string = ''
-
Ruta asociada a la petición que produjo el error.
run()
Genera y envía la respuesta correspondiente al error, ya sea HTML, JSON o una redirección.
public
run() : void
El kernel invoca este método después de seleccionar el controlador adecuado para la excepción.
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