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