public function __construct($fullControllerName, $customControllerName, array $requestParams = []) { $this->fullControllerName = $fullControllerName; $this->customControllerName = $customControllerName; $this->requestParams = $requestParams; $this->databaseInstance = Database::getInstance(DatabaseConfig::DB_INSTANCE_NAME); }
public function __construct($areaName = null, $controllerName, $actionName, array $requestParams = []) { $this->_areaName = $areaName; $this->_controllerName = $controllerName; $this->_actionName = $actionName; $this->_requestParams = $requestParams; $this->databaseInstance = Database::getInstance(DatabaseConfig::DB_INSTANCE_NAME); }