LdapTools\Query\Builder\FilterBuilder::bOr PHP Method

bOr() public method

A logical OR operator.
public bOr ( $op ) : bOr
return LdapTools\Query\Operator\bOr
    public function bOr(...$op)
    {
        return new bOr(...$op);
    }

Usage Example

Example #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);
     }
 }
All Usage Examples Of LdapTools\Query\Builder\FilterBuilder::bOr