/**
* Adds a base 'bAnd' operator for the convenience 'where', 'andWhere' methods only if it does not already exist.
*
* @throws \LdapTools\Exception\LdapQueryException
*/
protected function addBaseAndIfNotExists()
{
if (!$this->baseAnd) {
$this->baseAnd = $this->filterBuilder->bAnd();
$this->operation->getFilter()->add($this->baseAnd);
}
}