Пример #1
0
 /**
  * Adds a base 'bOr' operator for the convenience 'orWhere' method only if it does not already exist.
  *
  * @throws \LdapTools\Exception\LdapQueryException
  */
 protected function addBaseOrIfNotExists()
 {
     if (!$this->baseOr) {
         $this->baseOr = $this->filterBuilder->bOr();
         $this->operation->getFilter()->add($this->baseOr);
     }
 }