protected function processLogicalAndNode()
    {
        if (null !== $this->scope->getCurrentLeftNode()
            && null !== $this->scope->getNode()
            && null !== $this->scope->getCurrentOperator()
        ) {
            $node = new BooleanNode($this->scope->getCurrentLeftNode(), $this->scope->getNode(), $this->scope->getCurrentOperator());
            $this->scope
                ->setNode($node)
                ->deleteCurrentLeftNode()
                ->deleteCurrentOperator();
        }

        return $this;
    }
protected function processLogicalAndNode()
    {
        if (null !== $this->scope->getCurrentLeftNode()
            && null !== $this->scope->getNode()
            && null !== $this->scope->getCurrentOperator()
        ) {
            $node = new BooleanNode($this->scope->getCurrentLeftNode(), $this->scope->getNode(), $this->scope->getCurrentOperator());
            $this->scope
                ->setNode($node)
                ->deleteCurrentLeftNode()
                ->deleteCurrentOperator();
        }

        return $this;
    }
protected function processLogicalAndNode ( ) { if ( null !== $ this -> scope -> getCurrentLeftNode ( ) && null !== $ this -> scope -> getNode ( ) && null !== $ this -> scope -> getCurrentOperator ( ) ) { $ node = new BooleanNode ( $ this -> scope -> getCurrentLeftNode ( ) , $ this -> scope -> getNode ( ) , $ this -> scope -> getCurrentOperator ( ) ) ; $ this -> scope -> setNode ( $ node ) -> deleteCurrentLeftNode ( ) -> deleteCurrentOperator ( ) ; } return $ this ; }
Will check if a "logical and" node should be created, depending on which
tokens were processed before.

@return $this
Will check if a logical and node should be created depending on which tokens were processed before .