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

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

        return $this;
    }
private function modelIs($conjunction, ModelId $modelId)
    {
        if (!empty($this->expression)) {
            $this->expression[] = $conjunction;
        }

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

        return $this;
    }
private function modelIs ( $ conjunction , ModelId $ modelId ) { if ( ! empty ( $ this -> expression ) ) { $ this -> expression [ ] = $ conjunction ; } $ index = \ count ( $ this -> variables ) ; $ this -> expression [ ] = \ sprintf ( self :: MODEL_IS_EXPRESSION , $ index ) ; $ this -> variables [ ] = $ modelId ; $ this -> compiled = null ; return $ this ; }
Add model is.

@param string  $conjunction AND or OR.
@param ModelId $modelId     The model id.

@return static
Add model is .