src/Sulu/Bundle/ResourceBundle/Resource/FilterListBuilder.php
protected function handleCreatedExpressions(array $expressions, $conjunction)
    {
        $expressionCounter = count($expressions);
        switch ($expressionCounter) {
            case 0: // no expressions - nothing to do
                break;
            case 1:
                $this->listBuilder->addExpression($expressions[0]);
                break;
            default:
                $conjunctionExpression = $this->createConjunctionExpression($expressions, $conjunction);
                $this->listBuilder->addExpression($conjunctionExpression);
                break;
        }
    }
protected function handleCreatedExpressions(array $expressions, $conjunction)
    {
        $expressionCounter = count($expressions);
        switch ($expressionCounter) {
            case 0: // no expressions - nothing to do
                break;
            case 1:
                $this->listBuilder->addExpression($expressions[0]);
                break;
            default:
                $conjunctionExpression = $this->createConjunctionExpression($expressions, $conjunction);
                $this->listBuilder->addExpression($conjunctionExpression);
                break;
        }
    }
protected function handleCreatedExpressions ( array $ expressions , $ conjunction ) { $ expressionCounter = count ( $ expressions ) ; switch ( $ expressionCounter ) { case 0 : // no expressions - nothing to do break ; case 1 : $ this -> listBuilder -> addExpression ( $ expressions [ 0 ] ) ; break ; default : $ conjunctionExpression = $ this -> createConjunctionExpression ( $ expressions , $ conjunction ) ; $ this -> listBuilder -> addExpression ( $ conjunctionExpression ) ; break ; } }
Handles the previouse created expressions and passes the over to the listbuilder.

@param ExpressionInterface[] $expressions
@param string $conjunction
Handles the previouse created expressions and passes the over to the listbuilder .