src/Sulu/Component/SmartContent/Orm/DataProviderRepositoryTrait.php
private function appendRelationOr(QueryBuilder $queryBuilder, $relation, $values, $alias)
    {
        $queryBuilder->leftJoin($relation, $alias)
            ->andWhere($alias . '.id IN (:' . $alias . ')');

        return [$alias => $values];
    }
private function appendRelationOr(QueryBuilder $queryBuilder, $relation, $values, $alias)
    {
        $queryBuilder->leftJoin($relation, $alias)
            ->andWhere($alias . '.id IN (:' . $alias . ')');

        return [$alias => $values];
    }
private function appendRelationOr ( QueryBuilder $ queryBuilder , $ relation , $ values , $ alias ) { $ queryBuilder -> leftJoin ( $ relation , $ alias ) -> andWhere ( $ alias . '.id IN (:' . $ alias . ')' ) ; return [ $ alias => $ values ] ; }
Append tags to query builder with "or" operator.

@param QueryBuilder $queryBuilder
@param string $relation
@param int[] $values
@param string $alias

@return array parameter for the query
Append tags to query builder with or operator .