src/Clipboard/Filter.php
private function sub($conjunction, FilterInterface $filter)
    {
        if (!empty($this->expression)) {
            $this->expression[] = $conjunction;
        }

        $index              = \count($this->variables);
        $this->expression[] = \sprintf(self::SUB_FILTER, $index);
        $this->variables[]  = $filter;
        $this->compiled     = null;

        return $this;
    }
private function sub($conjunction, FilterInterface $filter)
    {
        if (!empty($this->expression)) {
            $this->expression[] = $conjunction;
        }

        $index              = \count($this->variables);
        $this->expression[] = \sprintf(self::SUB_FILTER, $index);
        $this->variables[]  = $filter;
        $this->compiled     = null;

        return $this;
    }
private function sub ( $ conjunction , FilterInterface $ filter ) { if ( ! empty ( $ this -> expression ) ) { $ this -> expression [ ] = $ conjunction ; } $ index = \ count ( $ this -> variables ) ; $ this -> expression [ ] = \ sprintf ( self :: SUB_FILTER , $ index ) ; $ this -> variables [ ] = $ filter ; $ this -> compiled = null ; return $ this ; }
Add sub filter.

@param string          $conjunction AND or OR.
@param FilterInterface $filter      The sub filter.

@return static
Add sub filter .