com\setasign\SetaSite\Module\DefaultModules\Redirect\Controller
Redirect Class Redirect
File: /SetaSite/src/Module/DefaultModules/Redirect/Controller/Redirect.php
Class hierarchy
Implements
Summary
Properties
$response
protected ?\Psr\Http\Message\ResponseInterface \com\setasign\SetaFramework\Controller\AbstractController::$response
Methods
__construct()
Parameters
- $httpFactory: \com\setasign\SetaFramework\Http\HttpFactoryInterface
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\ResponseInterfacesetParam()
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
