com\setasign\SetaSite\Controller\Frontend
JsErrorLogger Class AbstractController
File: /SetaSite/src/Controller/Frontend/JsErrorLogger.php
Class hierarchy
Implements
Summary
Properties
$response
protected ?\Psr\Http\Message\ResponseInterface \com\setasign\SetaFramework\Controller\AbstractController::$response
$viewScript
protected string \com\setasign\SetaFramework\Controller\AbstractViewController::$viewScript
Methods
__construct()
Parameters
getParam()
public \com\setasign\SetaFramework\Controller\AbstractController::getParam (
string $name,
mixed $default = null
): ?mixedmixed $default = null
Returns a param if it exists otherwise this will return $default
Parameters
- $name: string
- $default: mixed
getResponse()
public \com\setasign\SetaFramework\Controller\AbstractController::getResponse (
void
): \Psr\Http\Message\ResponseInterfacegetView()
public \com\setasign\SetaFramework\Controller\AbstractViewController::getView (
void
): \com\setasign\SetaFramework\View\ViewReturns the view
indexAction()
public JsErrorLogger::indexAction (
\com\setasign\SetaFramework\Request\ServerRequest $request,
\com\setasign\SetaFramework\Log\ApplicationLogHandler $logHandler,
JsErrorLoggerLimiter $limiter
): void\com\setasign\SetaFramework\Log\ApplicationLogHandler $logHandler,
JsErrorLoggerLimiter $limiter
Parameters
- $request: \com\setasign\SetaFramework\Request\ServerRequest
- $logHandler: \com\setasign\SetaFramework\Log\ApplicationLogHandler
- $limiter: JsErrorLoggerLimiter
setParam()
public \com\setasign\SetaFramework\Controller\AbstractController::setParam (
string $name,
mixed $value
): \com\setasign\SetaFramework\Controller\ControllerInterfacemixed $value
Sets a param
Parameters
- $name: string
- $value: mixed
setParams()
public \com\setasign\SetaFramework\Controller\AbstractController::setParams (
array $params
): \com\setasign\SetaFramework\Controller\ControllerInterfaceSet a array of params
Note: The params will be merged with the existing params!!
Parameters
- $params: array
