Author: Chad Sikorra (Chad.Sikorra@gmail.com)
 /**
  * {@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;
 }
Example #2
0
 /**
  * {@inheritdoc}
  */
 public function getDiagnosticMessage()
 {
     return LastErrorStrategy::getInstance($this->config->getLdapType(), $this->connection)->getDiagnosticMessage();
 }