public function orPipe($value)
    {
        if (false === strpos($this->prefixes, '(')) {
            $this->prefixes .= $this->generateOpeningBracket();
        }

        if (false === strpos($this->suffixes, ')')) {
            $this->suffixes = ')' . $this->suffixes;
        }

        $this->add(')|' . $this->generateOpeningBracket());

        return $this->then($value);
    }
public function orPipe($value)
    {
        if (false === strpos($this->prefixes, '(')) {
            $this->prefixes .= $this->generateOpeningBracket();
        }

        if (false === strpos($this->suffixes, ')')) {
            $this->suffixes = ')' . $this->suffixes;
        }

        $this->add(')|' . $this->generateOpeningBracket());

        return $this->then($value);
    }
public function orPipe ( $ value ) { if ( false === strpos ( $ this -> prefixes , '(' ) ) { $ this -> prefixes .= $ this -> generateOpeningBracket ( ) ; } if ( false === strpos ( $ this -> suffixes , ')' ) ) { $ this -> suffixes = ')' . $ this -> suffixes ; } $ this -> add ( ')|' . $ this -> generateOpeningBracket ( ) ) ; return $ this -> then ( $ value ) ; }
Add or expression

@param string $value Or expression

@return $this
Add or expression