protected switchServerIfNeeded ( string | null $currentServer, string | null $wantedServer, LdapTools\Operation\LdapOperationInterface $operation ) | ||
$currentServer | string | null | The server we are currently on. |
$wantedServer | string | null | The server we want the connection to be on. |
$operation | LdapTools\Operation\LdapOperationInterface |