/** * The constructor * * @param Zend_Controller_Request_Abstract $request * @param Void_Auth_Adapter_Interface $authAdapter */ public function __construct(Zend_Controller_Request_Abstract $request = null, Void_Auth_Adapter_Interface $authAdapter = null) { parent::__construct($request); if ($authAdapter === null && Zend_Registry::isRegistered('auth-adapter')) { $authAdapter = Zend_Registry::get('auth-adapter')->getDefaultAdapter(); } if ($authAdapter instanceof Void_Auth_Adapter_Interface) { $this->_authAdapter = $authAdapter; } }
/** * The constructor * * @param Zend_Controller_Request_Abstract $request * @param Void_Auth_Adapter_Interface $authAdapter */ public function __construct(Zend_Controller_Request_Abstract $request = null) { parent::__construct($request); }