/** * {@inheritdoc} */ public function getLastErrorMessage() { $extendedError = $this->getExtendedErrorNumber(); if (array_key_exists($extendedError, ADResponseCodes::RESPONSE_MESSAGE)) { $message = ADResponseCodes::RESPONSE_MESSAGE[$extendedError]; } else { $message = parent::getLastErrorMessage(); } return $message; }
/** * {@inheritdoc} */ public function getDiagnosticMessage() { return LastErrorStrategy::getInstance($this->config->getLdapType(), $this->connection)->getDiagnosticMessage(); }