/** * @return AuthModule */ public function handleRequest() { parent::handleRequest(); return $this; }
/** * @return AuthModule * @throws \Exception */ public function newAuthModule() { $result = null; $configKey = 'authModule'; $moduleConfig = $this->_getModuleConfigItemByKey($configKey); $moduleInstance = new AuthModule(); // initialize module .... $moduleInstance->init(); $moduleInstance->applyConfig($moduleConfig['config']); return $moduleInstance; }