src/Data/DefaultDataProviderDBalUtils.php
private static function determineFilterLikeOrNotLike(array $filter, QueryBuilder $queryBuilder)
    {
        if (!\in_array($filter['operation'], ['LIKE', 'NOT LIKE'])) {
            return null;
        }

        return static::filterLikeOrNotLike($filter, $queryBuilder);
    }
private static function determineFilterLikeOrNotLike(array $filter, QueryBuilder $queryBuilder)
    {
        if (!\in_array($filter['operation'], ['LIKE', 'NOT LIKE'])) {
            return null;
        }

        return static::filterLikeOrNotLike($filter, $queryBuilder);
    }
private static function determineFilterLikeOrNotLike ( array $ filter , QueryBuilder $ queryBuilder ) { if ( ! \ in_array ( $ filter [ 'operation' ] , [ 'LIKE' , 'NOT LIKE' ] ) ) { return null ; } return static :: filterLikeOrNotLike ( $ filter , $ queryBuilder ) ; }
Determine sql filter for like or not like.

@param array        $filter       The query filter.
@param QueryBuilder $queryBuilder The query builder.

@return string|null
Determine sql filter for like or not like .