src/Sulu/Bundle/ResourceBundle/Resource/FilterListBuilder.php
protected function createConjunctionExpression(array $expressions, $conjunction)
    {
        // create the appropriate expression
        if (ListBuilderInterface::CONJUNCTION_AND === strtoupper($conjunction)) {
            return $this->listBuilder->createAndExpression($expressions);
        }

        return $this->listBuilder->createOrExpression($expressions);
    }
protected function createConjunctionExpression(array $expressions, $conjunction)
    {
        // create the appropriate expression
        if (ListBuilderInterface::CONJUNCTION_AND === strtoupper($conjunction)) {
            return $this->listBuilder->createAndExpression($expressions);
        }

        return $this->listBuilder->createOrExpression($expressions);
    }
protected function createConjunctionExpression ( array $ expressions , $ conjunction ) { // create the appropriate expression if ( ListBuilderInterface :: CONJUNCTION_AND === strtoupper ( $ conjunction ) ) { return $ this -> listBuilder -> createAndExpression ( $ expressions ) ; } return $ this -> listBuilder -> createOrExpression ( $ expressions ) ; }
Creates a conjunction expression based on the given expressions and conjunction.

@param ExpressionInterface[] $expressions
@param string $conjunction

@return ConjunctionExpressionInterface
Creates a conjunction expression based on the given expressions and conjunction .