getServers() 공개 메소드

Get the LDAP server names or IP addresses.
public getServers ( ) : array
리턴 array
예제 #1
0
 /**
  * Uses the selected method to decide how to return the server array for the check.
  *
  * @return array
  */
 public function getSortedServersArray()
 {
     $servers = empty($this->config->getServers()) ? $this->getServersFromDns() : $this->config->getServers();
     if (self::SELECT_RANDOM == $this->selectionMethod) {
         $servers = $this->shuffleServers($servers);
     }
     return $servers;
 }