/**
* Get the connection resource, but first check if the connection is bound.
*/
private function getConnectionResource(): LDAPConnection
{ // If the connection is not bound, throw an exception. Users should use an explicit bind call first.
if (!
$this->connection->
isBound()) { throw new NotBoundException('Query execution is not possible without binding the connection first.'
);
} return $this->connection->
getResource();
} /**
* @param iterable<int, UpdateOperation> $operations An array or iterable of UpdateOperation instances
*
* @return $this
*
* @throws UpdateOperationException in case of an error
*/
public function applyOperations(string
$dn, iterable
$operations) {