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

Methods

getParam()

public \com\setasign\SetaFramework\Controller\AbstractController::getParam (
string $name,
mixed $default = null
): ?mixed

Returns a param if it exists otherwise this will return $default

Parameters
$name: string
 
$default: mixed
 

getParams()

Get all existing params

getResponse()

public \com\setasign\SetaFramework\Controller\AbstractController::getResponse (
void
): \Psr\Http\Message\ResponseInterface

setParam()

Sets a param

Parameters
$name: string
 
$value: mixed
 

setParams()

Set a array of params

Note: The params will be merged with the existing params!!

Parameters
$params: array