protected connectIfNotBound ( LdapTools\Operation\LdapOperationInterface $operation ) | ||
$operation | LdapTools\Operation\LdapOperationInterface |
protected function connectIfNotBound(LdapOperationInterface $operation)
{
if (!$this->connection->isBound() && !$operation instanceof AuthenticationOperation) {
$this->connection->connect();
}
}