com\setasign\SetaFramework\Controller
AbstractViewController Class AbstractController
File: /SetaFramework/src/Controller/AbstractViewController.php
Class hierarchy
Implements
Summary
Properties
$response
protected ?\Psr\Http\Message\ResponseInterface AbstractController::$response
$viewScript
protected string AbstractViewController::$viewScript
Methods
__construct()
public AbstractViewController::__construct ()
Parameters
- $httpFactory : \com\setasign\SetaFramework\Http\HttpFactoryInterface
- $view : \com\setasign\SetaFramework\View\View
getParam()
Returns a param if it exists otherwise this will return $default
Parameters
- $name : string
- $default : mixed
setParams()
Set a array of params
Note: The params will be merged with the existing params!!
Parameters
- $params : array
