original_string: public function setAutocompleterCallback(callable $callback = null): self
      {
          if ($this->hidden && null !== $callback) {
              throw new LogicException('A hidden question cannot use the autocompleter.');
          }
  
          $this->autocompleterCallback = $callback;
  
          return $this;
      }
code: public function setAutocompleterCallback(callable $callback = null): self
      {
          if ($this->hidden && null !== $callback) {
              throw new LogicException('A hidden question cannot use the autocompleter.');
          }
  
          $this->autocompleterCallback = $callback;
  
          return $this;
      }
code_tokens: public function setAutocompleterCallback ( callable $ callback = null ) : self { if ( $ this -> hidden && null !== $ callback ) { throw new LogicException ( 'A hidden question cannot use the autocompleter.' ) ; } $ this -> autocompleterCallback = $ callback ; return $ this ; }
docstring: Sets the callback function used for the autocompleter.
  
  The callback is passed the user input as argument and should return an iterable of corresponding suggestions.
  
  @return $this
docstring_tokens: Sets the callback function used for the autocompleter .