getServer() public method

Get the server that should be used for the operation.
public getServer ( ) : null | string
return null | string
 /**
  * @param LdapOperationInterface $operation
  */
 public function setOperationDefaults(LdapOperationInterface $operation)
 {
     if (is_null($operation->getServer())) {
         $operation->setServer($this->connection->getServer());
     }
 }