setServer() public method

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