original_string: public function filterAutocomplete(GetFilterConditionEvent $event): void
      {
          $expr = $event->getFilterQuery()->getExpr();
          $values = $event->getValues();
  
          if ('' !== $values['value'] && null !== $values['value']) {
              $paramName = str_replace('.', '_', $event->getField());
              $event->setCondition(
                  $expr->eq($event->getField(), ':'.$paramName),
                  [$paramName => $values['value']]
              );
          }
      }
code: public function filterAutocomplete(GetFilterConditionEvent $event): void
      {
          $expr = $event->getFilterQuery()->getExpr();
          $values = $event->getValues();
  
          if ('' !== $values['value'] && null !== $values['value']) {
              $paramName = str_replace('.', '_', $event->getField());
              $event->setCondition(
                  $expr->eq($event->getField(), ':'.$paramName),
                  [$paramName => $values['value']]
              );
          }
      }
code_tokens: public function filterAutocomplete ( GetFilterConditionEvent $ event ) : void { $ expr = $ event -> getFilterQuery ( ) -> getExpr ( ) ; $ values = $ event -> getValues ( ) ; if ( '' !== $ values [ 'value' ] && null !== $ values [ 'value' ] ) { $ paramName = str_replace ( '.' , '_' , $ event -> getField ( ) ) ; $ event -> setCondition ( $ expr -> eq ( $ event -> getField ( ) , ':' . $ paramName ) , [ $ paramName => $ values [ 'value' ] ] ) ; } }
docstring: Apply a filter for a filter_autcomplete type.
  This method should work whih both ORM and DBAL query builder.
  
  @param GetFilterConditionEvent $event
docstring_tokens: Apply a filter for a filter_autcomplete type . This method should work whih both ORM and DBAL query builder .