original_string: public function strategy(string $strategy, array $options = []): ListFilter
      {
          $this->main['strategy'] = $strategy;
  
          if (count($options)) {
              $this->main['options'] = $options;
          }
  
          return $this;
      }
code: public function strategy(string $strategy, array $options = []): ListFilter
      {
          $this->main['strategy'] = $strategy;
  
          if (count($options)) {
              $this->main['options'] = $options;
          }
  
          return $this;
      }
code_tokens: public function strategy ( string $ strategy , array $ options = [ ] ) : ListFilter { $ this -> main [ 'strategy' ] = $ strategy ; if ( count ( $ options ) ) { $ this -> main [ 'options' ] = $ options ; } return $ this ; }
docstring: Set the filter strategy
  
  @param string $strategy  alias or FQN
  @param array  $options   options specific for the strategy
  @return ListFilter|$this
docstring_tokens: Set the filter strategy